Opened 16 years ago

Closed 15 years ago

#19514 closed defect (invalid)

Library not loaded

Reported by: peakprod@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jmroot (Joshua Root), dbevans (David B. Evans)
Port:

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

Hello,

After doing a port update I am no longer able to load ices a streaming server.

dyld: Library not loaded: /opt/local/lib/libtheora.0.dylib
  Referenced from: /usr/local/bin/ices
  Reason: image not found
Trace/BPT trap

This is under OS X 10.4.11 Darwin, any help or suggestions on how to resolve this issue would be appreciated.

Thank you,

Keith

Change History (7)

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

Cc: jmr@… added

Your ices is in /usr/local/bin? Does this mean you built it yourself rather than using the ices2 port?

comment:2 Changed 16 years ago by dbevans (David B. Evans)

What do the following commands say? Results for my installation (10.4.11 ppc) are shown

devans% port installed libtheora 
The following ports are currently installed:
  libtheora @1.0beta3_0 (active)
devans% port contents libtheora | grep dylib
  /opt/local/lib/libtheora.0.3.3.dylib
  /opt/local/lib/libtheora.0.dylib
  /opt/local/lib/libtheora.dylib
  /opt/local/lib/libtheoradec.1.0.0.dylib
  /opt/local/lib/libtheoradec.1.dylib
  /opt/local/lib/libtheoradec.dylib
  /opt/local/lib/libtheoraenc.1.0.0.dylib
  /opt/local/lib/libtheoraenc.1.dylib
  /opt/local/lib/libtheoraenc.dylib

Having done this, I noticed that the latest version is 1.0 however. Upgrading (after incrementing epoch in r50523) gives:

devans% port installed libtheora
The following ports are currently installed:
  libtheora @1.0_0 (active)
  libtheora @1.0beta3_0
devans% port contents libtheora | grep dylib
  /opt/local/lib/libtheora.0.3.4.dylib
  /opt/local/lib/libtheora.0.dylib
  /opt/local/lib/libtheora.dylib
  /opt/local/lib/libtheoradec.1.0.1.dylib
  /opt/local/lib/libtheoradec.1.dylib
  /opt/local/lib/libtheoradec.dylib
  /opt/local/lib/libtheoraenc.1.0.1.dylib
  /opt/local/lib/libtheoraenc.1.dylib
  /opt/local/lib/libtheoraenc.dylib

Both show /opt/local/lib/libtheora.0.dylib installed. And as jmr says, you should use the ices2 port rather than build your own in /usr/local to keep all your builds consistent with each other.

However, resync your ports (after an hour or so) and upgrade libtheora again. Maybe that will heal your problem.

comment:3 Changed 16 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:4 Changed 16 years ago by jmroot (Joshua Root)

If this isn't a case of it being self-built (and thus requiring a rebuild), I suspect that libshout2 just needs a rev bump to pick up the new libtheora version.

comment:5 Changed 16 years ago by dbevans (David B. Evans)

I think his libtheora is uninstalled, deactivated or broken as the program is looking for

/opt/local/lib/libtheora.0.dylib

and can't find it but that file name is, indeed, part of contents of the current libtheora port 1.0 and the previous 1.0beta3 too.

So it looks like it was present when he built his app but not now. If it was the libshout2 problem the message would indicate that is was being referenced from there wouldn't it?

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

Description: modified (diff)

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

Resolution: invalid
Status: newclosed

No response to requests for further information.

Note: See TracTickets for help on using tickets.