ghci 5.00(.1) ignores -L ?
Armin Groesslinger
groessli at fmi.uni-passau.de
Fri May 25 05:04:54 EDT 2001
Hello,
I've been trying to start ghci 5.00 (Solaris) or 5.00.1 (Linux) with
ghci -L/the/path -lglue
(where libglue.so is in /the/path), which should load (according to
Section 3.5.2 of the GHC Users Guide) libglue.so from /the/path, but
ghci says
Loading package std ... linking ... done.
Loading object (dynamic) glue ... failed (ld.so.1: /public/packages/
programming/ghc-5.00/lib/ghc-5.00/ghc-5.00: fatal: libglue.so:
open failed: No such file or directory)
ghc-5.00: user specified .o/.so/.DLL could not be loaded.
It doesn't matter whether I give -L/the/path or -L/the/path/ .
It works fine with
export LD_LIBRARY_PATH=/the/path
ghci -lglue
and ghci says
Loading package std ... linking ... done.
Loading object (dynamic) glue ... done.
Prelude>
Regards,
Armin
More information about the Glasgow-haskell-bugs
mailing list