Re: Cmake, Clang and plugins

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

 



On 4-7-2016 14:54, Mykola Golub wrote:
> On Mon, Jul 04, 2016 at 01:09:15PM +0200, Willem Jan Withagen wrote:
>> Hi,
>>
>> I'm being pestered by:
>>  dlopen(/home/wjw/Ceph/work.cmake/ceph/build/lib/libec_jerasure.so):
>> /home/wjw/Ceph/work.cmake/ceph/build/lib/libec_jerasure.so: Undefined
>> symbol "ceph_arch_neon"
>> if I try to run anything that want as plugin.
>>
>> Now the question is: what extra bui;ding/linker  options would this
>> require to actually fix this?
> 
> If I recall it right, in automake it is fixed by this:
> 
> if LINUX
> liberasure_code_la_LIBADD = -ldl
> endif # LINUX

Hi Mykola,

That is actually to get the dlopen/close/.... function linked into the
parent program. But under FreeBSD these are part of libc.
Hence the fact that they are only included explicitly on Linux.

My problem is probably more on the other side:
the child plugin module is not able to satisfy all dynamic linking items.

--WjW


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux