nanogui: Thread: libnano-X.so, needed by libX11.so, not found


[<<] [<] Page 1 of 1 [>] [>>]
Subject: libnano-X.so, needed by libX11.so, not found
From: Terence Soh ####@####.####
Date: 21 Dec 2005 01:08:55 +0000
Message-Id: <43A8AB0E.6040305@singnet.com.sg>

Hi,

I'm facing a problem in compiling fltk when trying to link fluid and 
test, there is a complaint that libnano-X.so, which is needed by 
libX11.so, is not found.

How does libX11.so find libnano-X.so? I think that it would be found in 
nxlib-0.45/Makefile

MWIN=/data/src/nanox/microwindows-0.91/src
MWIN_LIB=$(MWIN)/lib
SOEXTRALIBS = -L$(MWIN_LIB) -lnano-X

I am cross-compiling this for ARM on X86 for a NFS filesystems so the 
paths stated in the Makefile would not match when running NFS systems on 
ARM.

Thanks in advance for your response,
Terence
Subject: Re: [nanogui] libnano-X.so, needed by libX11.so, not found
From: "Greg Haerr" ####@####.####
Date: 21 Dec 2005 03:11:36 +0000
Message-Id: <047001c605dc$24a20620$6401a8c0@winXP>

: How does libX11.so find libnano-X.so? I think that it would be found in 
: nxlib-0.45/Makefile
: 
: MWIN=/data/src/nanox/microwindows-0.91/src
: MWIN_LIB=$(MWIN)/lib
: SOEXTRALIBS = -L$(MWIN_LIB) -lnano-X

You're creating libX11.so which also requires a shared library,
rather than statically binding libnano-X.a into it.  Likely, you
need to edit your /etc/ld.so.conf file, add the mwin lib dir,
and run ldconfig.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.