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: 166 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
I'have found something that is not exctly a bug, but which is anoying :
when i try to staticly link an ocaml program, it fail :
+serveur1-1:~/lang/ocaml$ ocamlopt -ccopt --static toto.ml
/usr/bin/ld: cannot open -lcurses: Aucun fichier ou répertoire de ce type
collect2: ld returned 1 exit status
Error during linking
the raison is quite simple : there is a libcurses.so, which is a link to
libncurses.so, but no libcurses.a, so the configure script succed to do a
-lcurses but i failed when i link staticly.
the solution was quite simple for me : i'have change the configure script,
but maybe it should have an option to choose one's curses library.
The text was updated successfully, but these errors were encountered:
I'have found something that is not exctly a bug, but which is anoying :
when i try to staticly link an ocaml program, it fail :
+serveur1-1:~/lang/ocaml$ ocamlopt -ccopt --static toto.ml
/usr/bin/ld: cannot open -lcurses: Aucun fichier ou répertoire de ce type
collect2: ld returned 1 exit status
Error during linking
the raison is quite simple : there is a libcurses.so, which is a link to
libncurses.so, but no libcurses.a, so the configure script succed to do a
-lcurses but i failed when i link staticly.
I view this as a bug in RedHat's ncurses-devel RPM: since it includes
a symbolic link for libcurses.so, it should also contain a symbolic
link for libcurses.a.
Original bug ID: 166
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Vanicat Rémi
Version: Ocaml 3
OS: Redhat 6.1
Submission from: serveur1-1.labri.u-bordeaux.fr (147.210.8.170)
I'have found something that is not exctly a bug, but which is anoying :
when i try to staticly link an ocaml program, it fail :
+serveur1-1:~/lang/ocaml$ ocamlopt -ccopt --static toto.ml
/usr/bin/ld: cannot open -lcurses: Aucun fichier ou répertoire de ce type
collect2: ld returned 1 exit status
Error during linking
the raison is quite simple : there is a libcurses.so, which is a link to
libncurses.so, but no libcurses.a, so the configure script succed to do a
-lcurses but i failed when i link staticly.
the solution was quite simple for me : i'have change the configure script,
but maybe it should have an option to choose one's curses library.
The text was updated successfully, but these errors were encountered: