Subject: Re: [libssh2] #210: make check and install fail on Solaris (OpenIndiana x86)

Re: [libssh2] #210: make check and install fail on Solaris (OpenIndiana x86)

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Tue, 15 Feb 2011 20:51:16 -0000

#210: make check and install fail on Solaris (OpenIndiana x86)
--------------------------+-------------------------------------------------
  Reporter: dzejk | Owner:
      Type: build error | Status: new
  Priority: normal | Milestone: 1.2.7
 Component: tests | Version: 1.2.7
Resolution: | Keywords:
    Blocks: | Blocked By:
--------------------------+-------------------------------------------------

Comment (by danf):

 The build and link apparently succeeded, but the test application can't
 run because the library libssl.so.1.0.0 can't be found at run time. I'm
 not sure how exactly this is fixed under Solaris, but on Linux it would
 involve setting the LD_LIBRARY_PATH environment variable, or editing the
 /etc/ld.so.conf file to point the dynamic linker to the location of the
 right libssl. Alternately, you could pass in linker flags to hard-code the
 path into the apps. Using the GNU toolchain, this would involve something
 like configuring with LDFLAGS='-Wl,-rpath -Wl,INST_DIR/lib'

-- 
Ticket URL: <http://trac.libssh2.org/ticket/210#comment:3>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-02-15