Opened 15 years ago

Closed 14 years ago

#23830 closed defect (fixed)

mlt: Undefined symbols: _mlt_service_cache_purge

Reported by: alexcoder@… Owned by: ddennedy (Dan Dennedy)
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 (1)

mlt-Portfile-23830.diff (612 bytes) - added by ddennedy (Dan Dennedy) 14 years ago.
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.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: kdenlive mlt removed
Owner: changed from macports-tickets@… to dan@…
Port: kdenlive removed
Summary: kdenlive-0.7.7 error build mltmlt build error

Please remember to cc the maintainer.

comment:2 Changed 15 years ago by alexcoder@…

Cc: alexcoder@… added

Cc Me!

comment:3 Changed 15 years ago by ddennedy (Dan Dennedy)

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 15 years ago by alexcoder@…

Replying to dan@…:

Thanks. I compile it! It's time to report other bugs now )

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Cc: alexcoder@… removed

The reporter is automatically Cc'ed.

comment:6 Changed 15 years ago by ddennedy (Dan Dennedy)

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 15 years ago by ddennedy (Dan Dennedy)

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 15 years ago by ryandesign (Ryan Carsten Schmidt)

configure.ldflags contains -L${prefix}/lib by default. If you don't want that, delete it or overwrite it.

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: mlt build errormlt: Undefined symbols: _mlt_service_cache_purge

Changed 14 years ago by ddennedy (Dan Dennedy)

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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks, fixed in r69077.

Note: See TracTickets for help on using tickets.