Bug 99006 - building kstyles in kdelibs doesn't work on Solaris 2.6 because generated genembed script is incorrect
Summary: building kstyles in kdelibs doesn't work on Solaris 2.6 because generated gen...
Status: RESOLVED FIXED
Alias: None
Product: configure
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 10:54 UTC by Steve Evans
Modified: 2008-08-01 13:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2005-02-10 10:54:27 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Solaris

I get this build error on Solaris 2.6:

./genembed $pics > pixmaps.keramik
ld.so.1: /tmp/kdelibs-3.3.92/kstyles/keramik/.libs/genembed: fatal: libpng12.so.0: open failed: No
 such file or directory

It happens because the generated genembed script carefully modifies the value of LD_LIBRARY_PATH to add its own stuff, but then runs the program like this:

LD_LIBRARY_PATH="$thisdir/../../kdefx/.libs:/opt/qt/lib:/usr/local/gcc-3.4.3/lib:" exec $progdir/$program ${1+"$@"}

Which sets LD_LIBRARY_PATH to a value that does *not* contain my original value. Removing the LD_LIBRARY_PATH prefix to this command, so it becomes simply exec $progdir/$program ${1+"$@"} solves the problem.
Comment 1 Steve Evans 2005-02-10 11:06:50 UTC
The problem also occurs in the script kdelibs-3.3.92/kdewidgets/makekdewidgets
Comment 2 Maksim Orlovich 2005-02-10 16:15:00 UTC
libtool stuff. <runs away>
Comment 3 Bernd Kuhls 2005-02-23 17:09:27 UTC
Having the same bug here on Solaris 2.9, linking the missing libraries into
kdelibs-050223/kdefx/.libs lets compile continue.
Comment 4 Bernd Kuhls 2005-02-23 17:28:09 UTC
This bug is related to bug 100096 and bug 99685
Comment 5 Bernd Kuhls 2007-10-29 23:06:37 UTC
This bug is fixed, at least since KDE-3.5.8, and can be closed
Comment 6 groot 2008-08-01 13:35:20 UTC
Closed by request.