Opened 10 years ago

Last modified 10 years ago

#43947 closed defect

dbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart — at Version 3

Reported by: xman00@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: dbus-glib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I've upgraded my OS X from ML to Mavericks. For MacPorts I followed these: wiki:Migration instructions .

Everything works fine, except dbus-glib. Building stops with:

/opt/local/include/glib-2.0/gobject/gtype.h:667:23: note: 'g_type_init' declared here
void                  g_type_init                    (void);
                      ^
1 warning generated.
1 warning generated.
  CCLD     libdbus-glib-1.la
  CCLD     libdbus-gtool.la
  CCLD     dbus-binding-tool
  CCLD     dbus-bash-completion-helper
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus'
Making all in examples
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/examples'
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h ./example-service.xml
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h ./example-signal-emitter.xml
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /opt/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framewdyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /opt/local/lib/libJPEG.dylib
 in /System/Lork/Versions/A/ImageIO
ibrary/Frameworks/ImageIO.framework/Versions/A/ImageIO
make[3]: *** [example-service-glue.h] Trace/BPT trap: 5
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [example-signal-emitter-glue.h] Trace/BPT trap: 5

Any Idea?

# port version
Version: 2.3.0

(This is kinda weird, because I installed "MacPorts-2.2.1-10.9-Mavericks.pkg" after upgrading to Mavericks und xcode --install . Why is it 2.3.0 and not 2.2.1 ??)

Change History (3)

comment:1 Changed 10 years ago by xman00@…

Cc: xman00@… added

Cc Me!

comment:2 Changed 10 years ago by xman00@…

dbus-glib-0.102_0+universal.darwin_13.i386-x86_64.tbz2 package throws this error (is needed for wine installation)

dbus-glib-0.102_0.darwin_13.x86_64.tbz2 installs fine. Seems to be a binary pkg...

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: xman00@… removed
Description: modified (diff)
Keywords: dbus-glib removed
Port: dbus-glib added
Summary: building dbus-glib on mavericks failsdbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart

A common reason for this error is setting the DYLD_LIBRARY_PATH environment variable in your shell. Use the "env" command to check what variables you've set. If you set that variable, please unset it. However, I'm surprised it would affect a build, since MacPorts should be sanitizing your environment before it runs, so if you've done something unusual to MacPorts (such as edited the macports.conf file to tell it to retain the DYLD_LIBRARY_PATH variable), you should let us know.

Note: See TracTickets for help on using tickets.