You are not logged in.
Pages: 1
I have making pkgbuilds for gpe, a de for pdas. Most of the stuff that i have built so far is installed in /opt/gpe. I added /opt/gpe/lib to my ld.so.conf and ran ldconfig. But sometimes when i try to build things that link against the libs in /opt/gpe/lib i get ld errors.
cc -o gpe-irc main.o irc.o irc_input.o dictionary.o general_config.o general_config_sql.o networks_config.o networks_config_sql.o irc_parse.o ctcp.o -lgpewidget -lsqlite
/usr/bin/ld: cannot find -lgpewidget
collect2: ld returned 1 exit status
make: *** [gpe-irc] Error 1
ls -al /opt/gpe/lib/libgpewidget.*
-rw-r--r-- 1 root root 132270 2006-03-11 23:40 /opt/gpe/lib/libgpewidget.a
-rwxr-xr-x 1 root root 981 2006-03-11 23:40 /opt/gpe/lib/libgpewidget.la
lrwxrwxrwx 1 root root 21 2006-03-11 23:40 /opt/gpe/lib/libgpewidget.so -> libgpewidget.so.1.0.0
lrwxrwxrwx 1 root root 21 2006-03-11 23:40 /opt/gpe/lib/libgpewidget.so.1 -> libgpewidget.so.1.0.0
-rwxr-xr-x 1 root root 120428 2006-03-11 23:40 /opt/gpe/lib/libgpewidget.so.1.0.0
anyone know how to fix this?
Offline
So how did you fix this? I remember getting the "ld returned 1 exit status" a LOT when I was building packages for Arch i586. When it happened, I got totally stuck and I couldn't build the package.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
The actual error is:
/usr/bin/ld: cannot find -lgpewidget
I assume syamajala added -L/opt/gpe/lib to his compile line so that ld can find the lib.
Offline
Oh, now I get the error message. Thx, Snowman.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Pages: 1