Re: Compiling PicoGUI on Skiffclusters

Philippe Ney <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
> OK.  Now here is where I am going to seem like a pest.  I have now compiled
> and 'make install'ed: pgserver, cli_c, themetools, and res_c.  Now I am
> getting an error when running 'make' in the apps folder.  I have already ran
> ./autogen.sh, ./configure (specifying prefix, exec-prefix, pgserver
> location, cli_c location, themetools location, res_c location).  THe error I
> am getting has to do with not being able to find '-lpgui'.  Any ideas? Here
> is everything outputted when make is
> run:guest@ipaq7:~/[email protected]/picogui-0.45/apps$ make cd . &&
[...]
> >../libtool --mode=link gcc -o pgboard pgboard.o kbfile.o -lpgui -lu til gcc
> >-o pgboard pgboard.o kbfile.o -lpgui -lutil /usr/bin/ld: cannot find -lpgui
> >collect2: ld returned 1 exit status make[3]: *** [pgboard] Error 1 make[3]:
> >Leaving directory `/home/guest/[email protected]/picogui-0.45/apps/
> >pgboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
> >`/home/guest/[email protected]/picogui-0.45/apps/ pgboard' make[1]: ***
> >[all-recursive] Error 1 make[1]: Leaving directory
> >`/home/guest/[email protected]/picogui-0.45/apps' make: ***
> >[all-recursive-am] Error 2  Thanks again Philippe for getting me this
> >far,Eric

This error means it cannot link with the picogui client library (libpgui)
that is default installed in /usr/local/lib.

Certainly that you haven't this path in your /etc/ld.so.conf file and then
the linker only seach in /lib and /usr/lib

Add it and then run as root :
# ldconfig

An other solution is adding it to the LD_LIBRARY_PATH environment variable
$ export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
But this is not permanent and only valid in the current shell.

-philippe

n.b.: Some 'return' at the right place would not be ~too much~ for readability


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.