[opensuse] cann't find -lcurses when compiling
Hello I am trying to make a package that needs lcurses (I already installed the dev package) This is what happens with ldconfig gabo@lila:~> /sbin/ldconfig -p | grep curs libncursesw.so.5 (libc6,x86-64) => /lib64/libncursesw.so.5 libncursesw.so.5 (libc6) => /lib/libncursesw.so.5 libncursesw.so (libc6,x86-64) => /usr/lib64/libncursesw.so libncursesw.so (libc6) => /usr/lib/libncursesw.so libncurses.so.5 (libc6,x86-64) => /lib64/libncurses.so.5 libncurses.so.5 (libc6) => /lib/libncurses.so.5 libncurses.so (libc6,x86-64) => /usr/lib64/libncurses.so libncurses.so (libc6) => /usr/lib/libncurses.so libXcursor.so.1 (libc6,x86-64) => /usr/lib64/libXcursor.so.1 libXcursor.so.1 (libc6) => /usr/lib/libXcursor.so.1 i guess it has something to do with the symbolic link but I am not sure. I am not sure either if I have to link it myself or it should be automatically linked with the ncurses-devel package. Any suggestions or ideas pointing me in the right direction will be very appreciated. Happy Holidays Gabriel Moreno Cholula, Mexico -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Dienstag, 18. Dezember 2007 schrieb Gabriel Moreno:
Hello
I am trying to make a package that needs lcurses (I already installed the dev package)
-lcurses means that the linker searches for either libcurses.a or libcurses.so in it's searchpath. You did only install libncurses. Since libcurses is considered to be deprecated first try to use (lib)ncurses instead of (lib)curses. If that doesn't work install the termcap package. That package installs libcurses to /usr/lib/curses ( or usr/lib64/curses for the 64 bit version). Inthat case you will need to add a -L /usr/lib/curses flag to the linker command line because /usr/lib/curses is not included in the linker's standard searchpath -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gabriel Moreno wrote:
Hello
I am trying to make a package that needs lcurses (I already installed the dev package)
Any suggestions or ideas pointing me in the right direction will be very appreciated.
Can you change it to require ncurses? Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Checked configure.in and change it to ncurses. It appears it compiled fine.
I don't know if it was that or adding the termcap package. I've been
screwing around with this for a while.
Thank you very very very much.
Happy Holidays
Gabriel
2007/12/18, Joe Sloan
Gabriel Moreno wrote:
Hello
I am trying to make a package that needs lcurses (I already installed the dev package)
Any suggestions or ideas pointing me in the right direction will be very appreciated.
Can you change it to require ncurses?
Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Gabriel Moreno
-
Joe Sloan
-
Markus Koßmann