Opened 14 years ago

Closed 14 years ago

#27625 closed defect (invalid)

speexenc unusable

Reported by: asimmons@… Owned by: billitch@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: rmstonecipher@…
Port: speex

Description

asimmons-mac:~ asimmons$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.6.5
BuildVersion:	10H574
asimmons-mac:~ asimmons$ sudo port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
asimmons-mac:~ asimmons$ sudo port uninstall speex libogg
asimmons-mac:~ asimmons$ sudo port clean --all speex libogg
--->  Cleaning speex
--->  Cleaning libogg
asimmons-mac:~ asimmons$ sudo port install speex
--->  Computing dependencies for speex
--->  Dependencies to be installed: libogg
--->  Fetching libogg
--->  Attempting to fetch libogg-1.2.1.tar.gz from http://distfiles.macports.org/libogg
--->  Verifying checksum(s) for libogg
--->  Extracting libogg
--->  Applying patches to libogg
--->  Configuring libogg
--->  Building libogg
--->  Staging libogg into destroot
--->  Installing libogg @1.2.1_1
--->  Activating libogg @1.2.1_1
--->  Cleaning libogg
--->  Fetching speex
--->  Attempting to fetch speex-1.2rc1.tar.gz from http://distfiles.macports.org/speex
--->  Verifying checksum(s) for speex
--->  Extracting speex
--->  Configuring speex
--->  Building speex
--->  Staging speex into destroot
--->  Installing speex @1.2rc1_0
--->  Activating speex @1.2rc1_0
--->  Cleaning speex
asimmons-mac:~ asimmons$ speexenc
dyld: Library not loaded: /opt/local/lib/libogg.0.dylib
  Referenced from: /opt/local/bin/speexenc
  Reason: Incompatible library version: speexenc requires version 8.0.0 or later, but libogg.0.dylib provides version 6.0.0
Trace/BPT trap
asimmons-mac:~ asimmons$ 

Change History (5)

comment:1 Changed 14 years ago by blb@…

Owner: changed from macports-tickets@… to billitch@…

What's the result from running the following two commands?

$ otool -L /opt/local/lib/libogg.0.dylib
$ env |grep -i dyld

comment:2 Changed 14 years ago by jmroot (Joshua Root)

And also

port -v installed speex libogg
lipo -info /opt/local/lib/libogg.0.dylib /opt/local/bin/speexenc

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Cc: rmstonecipher@… added

comment:4 Changed 14 years ago by asimmons@…

Ah, the grep for dyld found the problem:

asimmons-mac:~ asimmons$ env |grep -i dyld
DYLD_LIBRARY_PATH=/usr/local/xuggler/lib:

My xuggler installation was interfering with the dylib path. My bad. Sorry about that.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.