[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9058 [Tor]: tor current compile breakage "libor-crypto.a"



#9058: tor current compile breakage "libor-crypto.a"
-------------------------------+--------------------------------------------
 Reporter:  yancm              |          Owner:                    
     Type:  defect             |         Status:  new               
 Priority:  normal             |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                |        Version:  Tor: unspecified  
 Keywords:  tor-client netbsd  |         Parent:                    
   Points:                     |   Actualpoints:                    
-------------------------------+--------------------------------------------

Comment(by yancm):

 Replying to [comment:3 nickm]:
 > If you run that command line, but add "-L/usr/pkg/lib" right after the
 "gcc", does it start working?
 Yes it does...

 > The output of configure, when it talks about openssl
 Yep...uses /usr/lib version rather than /usr/pkg/lib

 >If so, you could probably work around this issue by specifying
 LDFLAGS="-L/usr/pkg/lib" manually when you run configure.

 First I assumed you meant to set that variable in my environment...
 I already have:
 LD_LIBRARY_PATH (/usr/local/lib /usr/pkg/lib /usr/pkg/lib/mysql)
 LD_RUN_PATH     (/usr/local/lib /usr/pkg/lib /usr/pkg/lib/mysql)

 now I added:
 LDFLAGS -L/usr/pkg/lib

 and run configure and it still thinks openssl is in /usr/lib

 then I tried: ./configure --with-libevent-dir=/usr/pkg
 LDFLAGS='-L/usr/pkg/lib'
 and it still thinks openssl is in /usr/lib

 This gets a bit beyond my knowledge. I do not know how to set search paths
 for configure. Ideally we need to tell it to look in /usr/pkg first then
 /usr for both libraries and includes. Specific examples would be helpful?

 I need to see if I can make the whole compile work as a package...this
 would be cleaner since a package make includes some built in mechanisms
 for dealing with specific package dependencies....

 I'll see if I can hack on that this weekend...even if you can show me how
 to patch the current build process...package-afying this is probably the
 most valuable think I can try if I can find the time to fumble with it...

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9058#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs