[gobolinux-users] Strange rootless behaviour with gpm

Rohan Nicholls rohan.nicholls at pareto.nl
Fri Jul 28 06:47:02 GMT 2006



Lucas C. Villa Real wrote:
 > It might be better to inspect your config.log for ncurses. Search for
 > "gpm" on it and there'll be the reason it didn't find gpm -- or attach
 > the file and I'll take a time to look at it, too.

Seems that ld is not registering the gpm library and include.  I
checked inside the header file for gpm and it does in fact have a
Gpm_Open function.

Do you need special rights to do an ldconfig?  Maybe this is where the
problem is.  I also noticed this value:
LD_LIBRARY_PATH=/home/local/System/Links/Libraries:
This should do the trick but for some reason it isn't.

If you can think of why this might be happening it would be great, as
I get other weird "missing" library errors as well.

configure:4415: checking if you want to link with the GPM mouse library
configure:4425: result: yes
configure:4428: checking for Gpm_Open in -lgpm
configure:4455: gcc -o conftest -O2 -march=i686 -fomit-frame-pointer 
-pipe   conftest.c -lgpm   >&5
/usr/bin/ld: cannot find -lgpm
collect2: ld returned 1 exit status
configure:4458: $? = 1
configure: failed program was:
#line 4436 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char Gpm_Open ();
int
main ()
{
Gpm_Open ();
   ;
   return 0;
}
configure:4475: result: no
configure:4537: error: Cannot link with GPM library


Thanks,

Rohan



More information about the gobolinux-users mailing list