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

Re: build error


On Thursday 08 April 2010 15:25:49 you wrote:
> i am getting a build error when building libssh-0.4.2. in RED HAT
> ENTERPRISE LINUX 5.3
> 
> Linking C shared library libssh.so
> gcc: unrecognized option '-R/usr/local/ssl/lib:/usr/local/lib'
> /usr/bin/ld: libssh.so.4.0.2: undefined versioned symbol name
> listen@@SOCKET_1.0
> /usr/bin/ld: failed to set dynamic section sizes: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [libssh/libssh.so.4.0.2] Error 1
> make[1]: *** [libssh/CMakeFiles/ssh_shared.dir/all] Error 2
> make: *** [all] Error 2
> 

Could you edit the CMakeCache.txt and

change
WITH_VISIBILITY_HIDDEN:INTERNAL=1
to
WITH_VISIBILITY_HIDDEN:INTERNAL=

and try again?

I haven't had time to setup a RHEL box.


	-- andreas


References:
build errorchebrolu bhanuchandar <bhanuchebrolu@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org