[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: library search test fails, please help
From: |
aaragon |
Subject: |
Re: library search test fails, please help |
Date: |
Sun, 22 Feb 2009 17:22:09 -0800 (PST) |
Bob Friesenhahn wrote:
>
> On Sun, 22 Feb 2009, aaragon wrote:
>> After installation of the library, I get:
>>
>> address@hidden:~/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
> address@hidden, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> 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.
- library search test fails, please help, aaragon, 2009/02/21
- Re: library search test fails, please help, Allan Caffee, 2009/02/22
- Re: library search test fails, please help, Thomas Dickey, 2009/02/22
- Re: library search test fails, please help, aaragon, 2009/02/22
- Re: library search test fails, please help, aaragon, 2009/02/22
- Re: library search test fails, please help, Bob Friesenhahn, 2009/02/22
- Re: library search test fails, please help,
aaragon <=
- Re: library search test fails, please help, Allan Caffee, 2009/02/22
- Re: library search test fails, please help, Keith Marshall, 2009/02/23
Re: library search test fails, please help, Duane Ellis, 2009/02/22
Re: library search test fails, please help, Peter O'Gorman, 2009/02/22
- Re: library search test fails, please help, aaragon, 2009/02/22
- Re: library search test fails, please help, Peter Johansson, 2009/02/22
- Message not available
- Re: library search test fails, please help, Peter Johansson, 2009/02/23
- RE: library search test fails, please help, John Calcote, 2009/02/23
- Re: library search test fails, please help, aaragon, 2009/02/23