[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening libraries by soname

From: Paolo Bonzini
Subject: Re: Opening libraries by soname
Date: Mon, 10 Dec 2007 15:37:42 +0100
User-agent: Thunderbird (Macintosh/20071031)

In debian, is not installed unless libncurses-dev is also installed. Therefore, programs should open directly.

No. Ideally the installation script for your program would create a symlink from a private directory for your program to the libncurses that your program should open, which would probably point to the SONAME symlink.

Good idea.  How do I find the SONAME symlink portably, though?

One possibility could be to require the -dev package when building, create a program that links against -lncurses, and use ldd or equivalents to find the SONAME -- but again, ldd is not portable...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]