Share

KResourcesWCAP

Tracker: Bugs

5 link error on x86_64 - ID: 1784826
Last Update: Comment added ( januadev )

Hi,

I used kresourcewcap until I fell ill 5 weeks ago. Today I'm back, I did an
update of my system and kresourcewcap causes a crash on kcontact. A
colleage told me this would happen, she recompiled and reinstalled and
everything was fine. She runs a i686 system, 32 bits, not 64.

On my box, I get
---snip---

/bin/sh ./libtool --silent --tag=CXX --mode=link g++ -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/opt/kde3/lib64
-L/usr/lib/qt3/lib64 -L/usr/lib64 -lkcal -lkdepim -no-undefined
-version-info 1:0:0 -L/usr/lib64 -o libkcal_resourcewcap.la -rpath
/opt/kde3/lib64 resourcewcap.lo resourcewcapconfig.lo wcap.lo
wcapcalendarselect.lo
/usr/lib64/gcc/x86_64-suse-linux/4.1.3/../../../../x86_64-suse-linux/bin/ld
: skipping incompatible /usr/lib/libexpat.so when searching for -lexpat
/usr/lib64/gcc/x86_64-suse-linux/4.1.3/../../../../x86_64-suse-linux/bin/ld
: skipping incompatible /usr/lib/libexpat.a when searching for -lexpat
/usr/lib64/gcc/x86_64-suse-linux/4.1.3/../../../../x86_64-suse-linux/bin/ld
: cannot find -lexpat
collect2: ld returned 1 exit status
make[1]: *** [libkcal_resourcewcap.la] Error 1
make[1]: Leaving directory `/usr/local/src/kresourcewcap'
make: *** [all] Error 2
---pins---

So, I can't build kresourcewcap. When I ask ldconfig about expat, I get:
---snip---/sbin/ldconfig -p | grep expat
libexpat.so.1 (libc6,x86-64) => /usr/lib64/libexpat.so.1
libexpat.so.1 (libc6) => /usr/lib/libexpat.so.1
libexpat.so.0 (libc6,x86-64) => /usr/lib64/libexpat.so.0
libexpat.so.0 (libc6) => /usr/lib/libexpat.so.0
libexpat.so.0 (libc6) =>
/opt/oracle/product/10.2.0/db_1/lib/libexpat.so.0
libexpat.so (libc6) => /usr/lib/libexpat.so
libexpat.so (libc6) =>
/opt/oracle/product/10.2.0/db_1/lib/libexpat.so
---pins---

Libexpat exists in a 64 bit version. It built well in July, it does not
build now. I don't know where to search, can you help me please?

Regards,
Werner


Werner Flamme ( wernerflamme ) - 2007-08-30 13:18

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2007-09-11 21:32
Sender: januadevProject Admin


Hi,

sorry not to have you answered earlier...

I was about to ask you to check for a link named libexpat.so.x
somewhere...:)

Do not hesitate to file bug reports if you need.

Thanks for your feedback

Rgds


Date: 2007-08-30 13:36
Sender: wernerflamme


Never mind, the problem was solved by a simple 'ln -s libexpat.so.0
libexpat.so' in the /usr/lib64 directory. Strange mechanisms working
here... configure did not figure out the problem...

Regards,
Werner


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-09-11 21:32 januadev
resolution_id None 2007-09-11 21:32 januadev
close_date - 2007-09-11 21:32 januadev