Ticket #23830 (closed defect: fixed)
mlt: Undefined symbols: _mlt_service_cache_purge
| Reported by: | alexcoder@… | Owned by: | dan@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | mlt |
Description
---> Computing dependencies for mlt
---> Building mlt
list='src/framework src/mlt++ src/melt src/modules src/swig profiles'; \
for subdir in $list; do \
/usr/bin/make -s -C $subdir depend || exit 1; \
/usr/bin/make -C $subdir all || exit 1; \
done
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
list='avformat core dgraft dv effectv feeds frei0r gtk2 jackrack kdenlive kino linsys lumas melt motion_est no
rmalize oldfilm plus qimage resample sdl sox vmfx vorbis xine xml'; \
for subdir in $list; do \
if [ -f $subdir/Makefile -a ! -f disable-$subdir ] ; \
then /usr/bin/make -C $subdir all || exit 1; \
fi \
done
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
cc -dynamiclib -o ../libmltgtk2.dylib factory.o consumer_gtk2.o producer_pixbuf.o pixops.o filter_rescale.o pr
oducer_pango.o -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/opt
/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L../../framework -lmlt -lpthread -lm -L/opt/local/lib -lSDLma
in -lSDL -Wl,-framework,Cocoa `pkg-config gtk+-2.0 --libs` `pkg-config gdk-pixbuf-2.0 --libs` `pkg-config pang
oft2 --libs`
Undefined symbols:
"_mlt_service_cache_purge", referenced from:
_producer_close in producer_pixbuf.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [../libmltgtk2.dylib] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
Warning: the following items did not execute (for mlt): org.macports.destroot org.macports.build
Attachments
Change History
comment:1 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to dan@…
- Keywords kdenlive mlt removed
- Port changed from kdenlive mlt to mlt
- Summary changed from kdenlive-0.7.7 error build mlt to mlt build error
comment:3 follow-up: ↓ 4 Changed 3 years ago by dan@…
Yes, I know about this. When building this plugin, it is picking up the system libs before the local ones. I will try to make a fix for the next release. The easy workaround for now is to port deactivate mlt before doing an upgrade.
comment:4 in reply to: ↑ 3 Changed 3 years ago by alexcoder@…
Replying to dan@…:
Thanks. I compile it! It's time to report other bugs now )
comment:5 Changed 3 years ago by macsforever2000@…
- Cc alexcoder@… removed
The reporter is automatically Cc'ed.
comment:6 Changed 3 years ago by dan@…
Does it make sense to insert "configure.ldflags-append -L${portbuildpath}/work/src/framework" before "configure.ldflags-append -L${prefix}/lib" to the Portfile?
comment:7 Changed 3 years ago by dan@…
Hmm, that did not work. I now have a $prefix/lib before and after $workpath/src/framework! Macports is putting an extra one in there for me? Not sure how to fix that.
comment:8 Changed 3 years ago by ryandesign@…
configure.ldflags contains -L${prefix}/lib by default. If you don't want that, delete it or overwrite it.
comment:9 Changed 3 years ago by ryandesign@…
- Summary changed from mlt build error to mlt: Undefined symbols: _mlt_service_cache_purge
Changed 3 years ago by dan@…
- Attachment mlt-Portfile-23830.diff added
This should be the fix. I staged an upgrade from 0.4.10 to 0.5.2 to test this, and it worked. Thanks for the hint Ryan.
comment:10 Changed 3 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
Thanks, fixed in r69077.


Please remember to cc the maintainer.