[yocto] .rpm packaging weirdness of dynamic libraries

Burton, Ross ross.burton at intel.com
Fri May 24 02:14:40 PDT 2013


On 23 May 2013 19:51, Hans Beckérus <hans.beckerus at gmail.com> wrote:
> However, I have completely changed path now ;) I think the root cause
> of this entire problem is that the package is constructed wrong. Since
> these .so files are modules, we need to tell libtool so it does not
> create the regular versioned lib file structure. What we want is a .so
> file and no links. Maybe then all of this is a no issue anymore?
>
> elinx_drv_la_LDFLAGS = -module -avoid-version -shared

Oh, if you've created modules and not libraries, then yes.  Use those
options and generally people put them in a subdirectory under libdir.

Ross



More information about the yocto mailing list