Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using LD_LIBRARY_PATH goes segmentation fault

Tags:

linux

gcc

I'm using Debian8.7 which is installed gcc4.9.2 via apt-get.

I built glibc2.24 and gcc6.3 with --prefix=/home/me/local, that looks finished correctly, but when using these adding LD_LIBRARY_PATH=/home/me/local/lib I got an error 'segmentation fault'.

I don't have any idea to solve this problem, could you help me?

like image 742
suwako Avatar asked Oct 19 '25 05:10

suwako


1 Answers

You won't be able to use custom glibc just by setting the LD_LIBRARY_PATH (e.g. your app will still use dynamic linker from old Glibc). See this question for details on how to achieve what you want. Glibc testing wiki may also be of help.

like image 136
yugr Avatar answered Oct 21 '25 20:10

yugr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!