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

Re: shared lib problem

It worked after reboot machine. I'm not sure what caused
dlopen() error. One thing I suspect that I added a path file
in /etc/ld.so.conf.d to point my plugins dir and ran ldconfig,
but the cache wasn't updated properly or something like
I had LD_CONFIG_PATH to point the plugin dir then it didn't
work though. Maybe ld library related bug?

Anyways, thanks for info. It seems working now.

-- Junji

Junji Kanemaru wrote:
>>or you missed -fpic/-fPIC option when compiling your coftware
> I missed it. After I added -fPIC the avc error has gone.
> But now  dlopen() fails. dlerror() says:
> "No such file or directory"
> The shared libraries that my app is loading are plugins.
> They are not linked with main app. they are loaded on demand
> and resolved symbols on the fly.
> Do I need some tweaking with them?
> -- junji

Junji Kanemaru
Linuon Inc.
Tokyo Japan

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