shared lib problem

Junji Kanemaru linux at linuon.com
Fri Feb 10 02:18:40 UTC 2006


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
that. 
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




More information about the fedora-selinux-list mailing list