xnview under solaris 9

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, xnview

landry

xnview under solaris 9

Post by landry »

Xnview stops on a dynamic link problem :

$ ./bin/xnview
ld.so.1: ./bin/xnview: fatal: relocation error: file /XXX/lib/libformat.so: symbol __sqrtf: referenced symbol not found
Killed

LD_LIBRARY_PATH is correctly set to find all the library, here is the ldd command which shows how the dynamic libs are resolved :

$ ldd ./bin/xnview
libformat.so => /XXX/lib/libformat.so
libXm.so.4 => /usr/dt/lib/libXm.so.4
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libdl.so.1 => /usr/lib/libdl.so.1
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
$

note : /XXX/ refer to my install dir (not in /usr/local; I'm not root at all on this machine, but is correct.

Can someone help me ?
User avatar
xnview
Author of XnView
Posts: 36798
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: xnview under solaris 9

Post by xnview »

landry wrote:Xnview stops on a dynamic link problem :

$ ./bin/xnview
ld.so.1: ./bin/xnview: fatal: relocation error: file /XXX/lib/libformat.so: symbol __sqrtf: referenced symbol not found
Killed

LD_LIBRARY_PATH is correctly set to find all the library, here is the ldd command which shows how the dynamic libs are resolved :

$ ldd ./bin/xnview
libformat.so => /XXX/lib/libformat.so
libXm.so.4 => /usr/dt/lib/libXm.so.4
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libdl.so.1 => /usr/lib/libdl.so.1
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
$

note : /XXX/ refer to my install dir (not in /usr/local; I'm not root at all on this machine, but is correct.

Can someone help me ?
I'll build soon a new version.
Pierre.