Hello.

My environment is that :), but I have llvm19 installed, so I will write about 
what I did a little research.

In llvm19, a file that seems to have 32-bit libc++ linked.
The command looks like this.

find /usr/local/ -exec sh -c 'readelf -d -- ${1} 2> /dev/null | grep -e 
libc++\\.so\\.1' arg0 {} \; -print

It looks like
/usr/local/llvm19/lib/clang/19/lib/i386-portbld-freebsd12.4/libclang_rt.asan.so
and
/usr/local/llvm19/lib/clang/19/lib/i386-portbld-freebsd12.4/libclang_rt.ubsan_standalone.so
need it.

Then, when ldconfig is executed, it bothers me that the 32-bit path is not 
included in the search path.

> ldconfig -r | head
/var/run/ld-elf.so.hints:
        search directories: 
/lib:/usr/lib:/lib/casper:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/VirtualGL/lib:/usr/local/ffmpeg4/lib:/usr/local/lib/alsa-lib:/usr/local/lib/gcc13:/usr/local/lib/heimdal:/usr/local/lib/ipsec:/usr/local/lib/opencollada:/usr/local/lib/perl5/5.36/mach/CORE:/usr/local/lib/python3.11/site-packages:/usr/local/lib/qt5:/usr/local/lib/qt6:/usr/local/lib/samba4:/usr/local/llvm15/lib:/usr/local/llvm16/lib:/usr/local/llvm17/lib:/usr/local/llvm18/lib:/usr/local/share/chromium
        0:-lelf.2 => /lib/libelf.so.2
        1:-lpcap.8 => /lib/libpcap.so.8
        2:-lcam.7 => /lib/libcam.so.7
        3:-lthr.3 => /lib/libthr.so.3
        4:-lbsdxml.4 => /lib/libbsdxml.so.4
        5:-lumem.2 => /lib/libumem.so.2
        6:-lulog.0 => /lib/libulog.so.0
        7:-lipt.0 => /lib/libipt.so.0

Here, we will take a break for the time being :)

Regards.


Reply via email to