I've been trying to compile the CVS code. But when the process gets to linking libid3tag it tries to link libz against /usr/local/lib instead of the one in dbox2/cdkroot/lib.
My guess is that during the configure phase somehow the wrong lib directory is 'detected'.
I've checked all of the prereqs include version numbers and seem to be running all correct version. (I'm running Debian stable).
The folowing command during make failes;
powerpc-tuxbox-linux-gnu-gcc -shared version.lo ucs4.lo latin1.lo utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo genre.lo frame.lo crc.lo util.lo tag.lo file.lo -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/local/lib/libz.so -Wl,-soname -Wl,libid3tag.so.0 -o .libs/libid3tag.so.0.2.0
which obviously leads to tears:
/usr/local/lib/libz.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
When manually linking, no errors occur.
I've searched this forum and found no other posts on this, does anybody have any idea why the wrong lib directory is being selected and how to correct this.
Thanks in advance for any advise
Regards,
Jorg
Error: Linking against i386 instead of ppc libraries
-
- Beiträge: 1
- Registriert: Sonntag 24. Juli 2005, 16:02