Installing Rubinius 2.0.0-rc1 on CentOS 6.3 - it complains no libyaml found though i installed it

StackOverflow https://stackoverflow.com/questions/13367487

  •  29-11-2021
  •  | 
  •  

문제

Please do not advise RVM related solutions, I do not use it. I'm installing Rubinius from source. I've previously installed libyaml in /usr/local. Any of the following attempts detailed below fail with no shared object libyaml-0.so.2 found:

./configure --with-lib-dir /usr/local/lib

# same for

./configure --with-lib-dir /usr/local/lib --with-include-dir /usr/local/include

There is no need to point the lib dir to lib64 because locate libyaml shows libyaml is installed in /usr/local/lib

도움이 되었습니까?

해결책

adding /usr/local/lib to LD_LIBRARY_PATH should work for you:

before configure do like this:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top