Re: How to determine the filename for dlopen()

2017-11-29 Thread Christian Seiler
Am 2017-11-26 15:26, schrieb wf...@niif.hu: At least I can't see any other way to express alternative groups of library dependencies like ((libnss and libnspr) or libssl), which would be needed for crypto plugins. Well, if a software wants to support alternatives, then the following would work

Re: How to determine the filename for dlopen()

2017-11-26 Thread Ferenc Wágner
Guillem Jover writes: > On Mon, 2017-11-13 at 13:23:01 +0100, Ferenc Wágner wrote: > >> I'm packaging a program which wants to dlopen() some library. It finds >> this library via pkg-config (PKG_CHECK_MODULES). How to best determine >> the filename to use in the dlopen()

Re: How to determine the filename for dlopen()

2017-11-25 Thread Guillem Jover
Hi! On Mon, 2017-11-13 at 13:23:01 +0100, Ferenc Wágner wrote: > I'm packaging a program which wants to dlopen() some library. It finds > this library via pkg-config (PKG_CHECK_MODULES). How to best determine > the filename to use in the dlopen() call? It should work cross-distro, > for

Re: How to determine the filename for dlopen()

2017-11-14 Thread Ferenc Wágner
Christian Seiler writes: > Am 2017-11-13 13:23, schrieb wf...@niif.hu: > >> I'm packaging a program which wants to dlopen() some library. It finds >> this library via pkg-config (PKG_CHECK_MODULES). How to best determine >> the filename to use in the dlopen() call? It

Re: How to determine the filename for dlopen()

2017-11-13 Thread Christian Seiler
Hi, Am 2017-11-13 13:23, schrieb wf...@niif.hu: I'm packaging a program which wants to dlopen() some library. It finds this library via pkg-config (PKG_CHECK_MODULES). How to best determine the filename to use in the dlopen() call? It should work cross-distro, for cross-compilation and

How to determine the filename for dlopen()

2017-11-13 Thread Ferenc Wágner
Hi, I'm packaging a program which wants to dlopen() some library. It finds this library via pkg-config (PKG_CHECK_MODULES). How to best determine the filename to use in the dlopen() call? It should work cross-distro, for cross-compilation and whatnot. Is it always safe to use the SONAME as