#16 npadmin fails under Solaris

open
nobody
None
5
2002-09-11
2002-09-11
Matthew Stier
No

Environment:
Operating System: Solaris 2.6
Compiler: GNU GCC 3.2
Make: GNU Make 3.79.1
npadmin: 0.8.7

Npadmin compiles, but fails to run.

Under the latest GNU G++ compilers, references to the
compilers dynamic libgcc and libstdc++ libraries are
compiled into executables.

This can be worked around by linking the G++ library
directory path into the executable. Either by adding a
'-R/path/to/gcc/lib' to the Makefile "LIBS" definition,
or simply defining LD_RUN_PATH to /path/to/gcc/lib so
the path will be available at when the executable is
linked.

Discussion