Re: shared lib problem

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

 



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

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux