[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: shared lib problem
- From: Junji Kanemaru <linux linuon com>
- To: Junji Kanemaru <linux linuon com>
- Cc: fedora-selinux-list redhat com
- Subject: Re: shared lib problem
- Date: Fri, 10 Feb 2006 11:18:40 +0900
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]