-   Slackware (
-   -   Slackware64 multilib - E17 compiling problem? (

kukibl 10-08-2009 10:40 AM

Slackware64 multilib - E17 compiling problem?
Recently I switched my Slackware64 to multilib (using Alien's multilib packages and instructions, of course). There were no problems with other compiling, until today when I tried to compile and install E17 from SlackBuilds.

I used sbopkg to make queue, as per README file from SBo, changed arch to x86_64, but after configure process it starts failing with errors like this:


/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/ when searching for -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libjpeg.a when searching for -ljpeg
/usr/lib/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status

It is obviously trying to use 32-bit libs for x86_64 packages. Then I removed gnutls-compat32 package, this time compilation went fine for this package, but failed with next one in queue (32-bit fontconfig's libs this time caused problem).

Checked multilib instructions again in case I skipped something, but I did everything as per instructions. I would like to know if there is any other way to compile E17 without removing compat32 packages or I'm missing something obvious?

Thank you!



Found it:

Next time I'll remember to use search feature! Sorry...

adamk75 10-08-2009 10:50 AM

I've had this problem in the past and simply work around it on a temporary basis by moving /usr/lib to /usr/lib32 and then back again when I'm done compiling. There is probably a better way of dealing with this, though :-)


All times are GMT -5. The time now is 02:54 PM.