This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems building openssh -> is sysroot working properly ?


Hi folks,


when compiling openssh in a crosstool'ed gcc w/ sysroot I 
encountered the problem that libcrypto.so was not found although
it was on the right place and the configure script has the 
correct location (I placed openssl under /usr/lib/ssl/)

Further studies w/ strace showed up that ld tries to find the
libs in the host system (/usr/lib/ssl/xxx..), instead of searching
relative to the sysroot when -L... is passed. 
Passing the full library path via --with-ssl= to openssh didnt 
help, since it now cant find the include files -> gcc's include 
path seems to be properly under the sys-root.

At the end of the story I cant crosscompile openssh :((

How can I solve this problem ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]