| Anonymous | Login | Signup for a new account | 2013-05-22 23:30 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000166 | OCaml | OCaml general | public | 2000-07-24 20:56 | 2000-07-28 11:29 | |||
| Reporter | administrator | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | no change required | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000166: problem to staticly link with ncurses | |||||||
| 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0002144) administrator (administrator) 2000-07-28 11:28 |
> 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. - Xavier Leroy |
|
(0002145) administrator (administrator) 2000-07-28 11:29 |
RedHat RPM packaging bug |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| Copyright © 2000 - 2011 MantisBT Group |