Re: library search test fails, please help

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

 





Bob Friesenhahn wrote:
> 
> On Sun, 22 Feb 2009, aaragon wrote:
>> After installation of the library, I get:
>>
>> aaragon@aaragon-laptop:~/Lib/lib$ ls
>> libcpputils.la  libcpputils.so  libcpputils.so.0  libcpputils.so.0.0.0
>>
>> Now I go to the other project (that uses this library), and again I try
>> to
>> use the macros AC_SEARCH_LIBS([flip], [cpputils],,[AC_MSG_ERROR(library
>> cpputils not found)]) and  AC_CHECK_LIB([cpputils],
>> [flip],,[AC_MSG_ERROR(library cpputils not found)],,)
>>
>> They both failed again and I have no clue why this time, since these
>> macros
>> are supposed to work for shared libraries.
> 
> The macros should work with both static and shared libraries. 
> However, they do depend on your compiler and linker working with the 
> arguments which are provided to them.  Apparently they are not.  The 
> clue to the cause of the failure should be in the config.log file.
> 
> Bob
> --
> Bob Friesenhahn
> bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> 
> 
> _______________________________________________
> Autoconf mailing list
> Autoconf@xxxxxxx
> http://lists.gnu.org/mailman/listinfo/autoconf
> 
> 

I'm using g++ v.4.3 on Ubuntu linux. I did check the config.log file to see
the source of error ever time. If you see above, the error in my last post
does not make any sense because the shared libraries are under that
directory that I include using -L.

aa
-- 
View this message in context: http://www.nabble.com/library-search-test-fails%2C-please-help-tp22140739p22154080.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux