You are not logged in.

#1 2018-02-18 17:42:12

tuokkeesi
Member
Registered: 2018-02-18
Posts: 6

/usr/bin/ld: warning: xxx, needed by yyy, not found

Hello!

Been using Arch since 2009, but sometimes simple things really confuse.

I'm trying to install lib32-libcanberra-gtk3 from AUR. I guess it's not relevant post the whole output of "makepkg", but here's my trouble:

/usr/bin/ld: warning: libXdamage.so.1, needed by /usr/lib32/libgdk-3.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libwayland-cursor.so.0, needed by /usr/lib32/libgdk-3.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libwayland-egl.so.1, needed by /usr/lib32/libgdk-3.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libwayland-client.so.0, needed by /usr/lib32/libgdk-3.so, not found (try using -rpath or -rpath-link)

All of these libraries are located in /usr/lib. Tried symlinking them to /usr/lib32, but didn't help.

How would I tell to ld to use /usr/lib? -rpath seems not be solution when using makepkg.

And yeah, system is 64bit and up to date.

Offline

#2 2018-02-18 17:54:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: /usr/bin/ld: warning: xxx, needed by yyy, not found

libs in /usr/lib are 64 bit, they aren't going to do you any good. You need to install the lib32 versions of them.

Offline

#3 2018-02-18 17:57:47

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: /usr/bin/ld: warning: xxx, needed by yyy, not found

tuokkeesi wrote:

I guess it's not relevant post the whole output of "makepkg", but here's my trouble:

It's actually very relevant. Please post the entire makepkg output.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2018-02-18 18:22:04

tuokkeesi
Member
Registered: 2018-02-18
Posts: 6

Re: /usr/bin/ld: warning: xxx, needed by yyy, not found

Yes. It really was so simple. 32-bit libraries were missing. Now compiled successfully. Thank you.

Offline

Board footer

Powered by FluxBB