Author Topic: rm -rf /usr/lib/*.la did not work  (Read 524 times)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
rm -rf /usr/lib/*.la did not work
« on: July 28, 2012, 08:05:58 AM »
*-*.*.la: No such file or directory

Code: [Select]
/bin/grep: /usr/lib64/libpangocairo-1.0.la: No such file or directory    
/bin/sed: can't read /usr/lib64/libpangocairo-1.0.la: No such file or directory  
libtool: link: `/usr/lib64/libpangocairo-1.0.la' is not a valid libtool archive  
make[3]: *** [geanyvc.la] Error 1
                   

From our boss Texstar

Try first as root from terminal for 64 bit arch
Code: [Select]
rm -rf /usr/lib64/*.la
or for 32 bit

Code: [Select]
rm -rf /usr/lib/*.la
-l

It's been a while since I last run into a similar problem with *.la, and I can't remember how I managed to fix those issues before but on a package I am rebuilding ...

Code: [Select]
/bin/grep: /lib/libusb-1.0.la: No such file or directory
/bin/sed: can't read /lib/libusb-1.0.la: No such file or directory
libtool: link: `/lib/libusb-1.0.la' is not a valid libtool archive

I've already try the rm -rf /usr/lib/*.la and a couple of others but still persistent on the above error. Any ideas?
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
rm -rf /usr/lib/*.la did not work
« Reply #1 on: July 30, 2012, 11:47:37 AM »
It's been a while since I last run into a similar problem with *.la, and I can't remember how I managed to fix those issues before but on a package I am rebuilding ...

Code: [Select]
/bin/grep: /lib/libusb-1.0.la: No such file or directory
/bin/sed: can't read /lib/libusb-1.0.la: No such file or directory
libtool: link: `/lib/libusb-1.0.la' is not a valid libtool archive

I've already try the rm -rf /usr/lib/*.la and a couple of others but still persistent on the above error. Any ideas?

rm -rf /lib/*.la

 ;) ;D

Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
rm -rf /usr/lib/*.la did not work
« Reply #2 on: July 30, 2012, 12:50:42 PM »
It's been a while since I last run into a similar problem with *.la, and I can't remember how I managed to fix those issues before but on a package I am rebuilding ...

Code: [Select]
/bin/grep: /lib/libusb-1.0.la: No such file or directory
/bin/sed: can't read /lib/libusb-1.0.la: No such file or directory
libtool: link: `/lib/libusb-1.0.la' is not a valid libtool archive

I've already try the rm -rf /usr/lib/*.la and a couple of others but still persistent on the above error. Any ideas?

rm -rf /lib/*.la

 ;) ;D

Terry.

Good eyes, Terry ... but that's not it either. But it got built when I installed libusb1.0-static-devel. All the same, thank you for your help.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
rm -rf /usr/lib/*.la did not work
« Reply #3 on: July 30, 2012, 05:17:28 PM »
That would work too because it links against the static version of libusb.
but I thought we were not supposed to be doing that http://www.pclinuxos.com/forum/index.php/topic,100920.msg857540.html#msg857540

Terry.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8821
  • Aurum nostrum non est aurum vulgi.
rm -rf /usr/lib/*.la did not work
« Reply #4 on: July 30, 2012, 09:18:05 PM »
You're right, we're not supposed to be doing that. I investigated and indeed there was a /lib/libusb.la so I deleted it and ran the build again which went OK. That should not be a problem, right?
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: rm -rf /usr/lib/*.la did not work
« Reply #5 on: July 31, 2012, 12:47:34 PM »
That should not be a problem, right?

Sounds good to me.
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|