libgconf-2.la error [SOLVED]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

libgconf-2.la error [SOLVED]

Post by rsal »

I tried to install package aeskulap using spi command and it ended with following error:

Code: Select all

...
...
grep: /usr/lib/libgconf-2.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib/libgconf-2.la' is not a valid libtool archive
make[2]: *** [libconfiguration.la] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1/configuration'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1'
make: *** [all] Error 2
fakeroot -- sh aeskulap.SlackBuild Failed
I tried to search on net and found this page http://www.linuxquestions.org/questions ... 931-print/ but could not solve my problem. This page http://rpmfind.net/linux/rpm2html/searc ... tem=&arch= showed that libGConf2-devel may help but this is not available in Salix. How can I solve this problem?
Last edited by rsal on 11. Feb 2016, 11:57, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: libgconf-2.la error

Post by gapan »

Here you go: http://pnboy.pinguix.com/gapan/salix/aeskulap/

This is a stupid problem with .la files, which are useless these days, yet so much software insists on installing them. Slackware started removing them, but they didn't remove all of them, so sometimes you get problems like this. The "fix" is to completely remove .la files (temporarily if you like). You can do it like this:

Code: Select all

find /usr/lib -name "*.la" -exec sudo rename ".la" ".la.bak" {} \;
after the software builds, you can bring them back with:

Code: Select all

find /usr/lib -name "*.la.bak" -exec sudo rename ".la.bak" ".la" {} \;
If you want to completely delete them instead:

Code: Select all

find /usr/lib -name "*.la" -delete
Image
Image
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: libgconf-2.la error

Post by rsal »

Yes it worked. Thanks.
Post Reply