First off, my compliments on this little jewel.  I've been looking for a 
good encryption option for rysnc for quite some time and this sure looks 
like it'll fit the bill.

My problem occurs when attempting to initially run ./configure on an 
OpenBSD 4.0 box.  The configure script refuses to find my installed 
argtables2 library.  I'm no make/build genius, but I can generally hack 
around enough to get by configure errors, but this one is absolutely 
killing me.  So any hints would be appreciated.

I've got more details listed below, but it appears to me that the crux 
of the issue is the following test in the configure script...

   g++ -o conftest -g -O2   conftest.cpp -largtable2  -lcrypto    // 
This Fails

When this run on the cmd line, I get the same "/usr/bin/ld: cannot find 
-largtable2" error.  But if I add a search path with -L it works...

   g++ -o conftest -g -O2   conftest.cpp -largtable2  -lcrypto 
-L/usr/local/lib   // This Succeeds!!!

So how can I get the configure script to use this search path? 

I've tried setting an LDFLAGS environment var....

$ echo $LDFLAGS
/usr/local/lib

I've tried setting the configure option --libdir=/usr/local/lib

But none of these courses seem to change the symptom even a little.  So 
any thoughts?

Thanx,

Chuck




Details:
==================

Check for ArgTables:
- - - - - - - - - - - - - -
$ pkg_info -L argtable-2.6p0
Information for argtable-2.6p0

Files:
/usr/local/lib/libargtable2.so.1.1
/usr/local/include/argtable2.h
/usr/local/lib/libargtable2.a
/usr/local/lib/libargtable2.la
/usr/local/man/man3/argtable2.3
....


Run Configure on Rsyncrypto
- - - - - - - - - - - - - - - - - - -
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
...
...
checking for AES_encrypt in -lcrypto... yes
checking for arg_parse in -largtable2... no
configure: error: argtable2 not found
See `config.log' for more details.


Interesting Spot in config.log
- - - - - - - - - - - - - - - - - -
configure:3111: checking for arg_parse in -largtable2
configure:3146: g++ -o conftest -g -O2   conftest.cpp -largtable2  
-lcrypto  >&5
/usr/bin/ld: cannot find -largtable2
collect2: ld returned 1 exit status
configure:3152: $? = 1

| int
| main ()
| {
| return arg_parse ();
|   ;
|   return 0;
| }
configure:3170: result: no
configure:3180: error: argtable2 not found
See `config.log' for more details.





-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to