You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1157 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
I cannot install ocaml-3.04 on my solaris machine. When I do "make world" it
stops
when building the graph library with the following message:
gcc: unrecognized option -rpath' /usr/X11/lib: file not recognized: Is a directory collect2: ld returned 1 exit status make[1]: *** [libgraphics.a] Error 2 make[1]: Leaving directory /.../chalmers.se/fs/cab/cs/work/proj/multi/home/src/ocaml/ocaml-3.04/otherlibs/graph'
make: *** [otherlibraries] Error 2
gcc --version
2.95.3
I suppose this has to do with the shared library support.
Indeed, there was a small bug in configure in 3.04.
You can correct it by hand:
edit config/Makefile and replace
MKSHAREDLIBRPATH="-rpath "
by
MKSHAREDLIBRPATH=-Wl,-rpath,
(with no space at the end of the line!)
This should solve it.
Otherwise, you can still use the -no-shared-libs option to configure.
Original bug ID: 1157
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Josef Svenningsson
Version: 3.04
OS: Solaris5
Submission from: muppet90.cs.chalmers.se (129.16.228.10)
I cannot install ocaml-3.04 on my solaris machine. When I do "make world" it
stops
when building the graph library with the following message:
gcc: unrecognized option
-rpath' /usr/X11/lib: file not recognized: Is a directory collect2: ld returned 1 exit status make[1]: *** [libgraphics.a] Error 2 make[1]: Leaving directory
/.../chalmers.se/fs/cab/cs/work/proj/multi/home/src/ocaml/ocaml-3.04/otherlibs/graph'make: *** [otherlibraries] Error 2
I suppose this has to do with the shared library support.
The text was updated successfully, but these errors were encountered: