4

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?

suwako
  • 43
  • 1
  • 3

1 Answers1

2

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.

Community
  • 1
  • 1
yugr
  • 19,769
  • 3
  • 51
  • 96