weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #37373] Linker unable to find libgcrypt


From: Simon
Subject: [Weechat-dev] [bug #37373] Linker unable to find libgcrypt
Date: Mon, 17 Sep 2012 12:45:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.nongnu.org/bugs/?37373>

                 Summary: Linker unable to find libgcrypt
                 Project: WeeChat
            Submitted by: foobar23
            Submitted on: Mon 17 Sep 2012 12:45:26 PM GMT
                Category: compilation
                Severity: 3 - Normal
              Item Group: compile/install
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.9-dev
                IRC nick: 

    _______________________________________________________

Details:

I thought that this problem would be fixed with the bugfix from #37311, but it
is not.

Building weechat from the latest git on OpenBSD, I get the following linker
error. There was no such build problem with the 0.3.8 release and in the 0.3.9
development snapshots from ~2 months ago. I *think* it it got introduced by
the new scripts plugin, but that could just be coincidence...

[ 31%] Built target fifo
make -f src/plugins/irc/CMakeFiles/irc.dir/build.make
src/plugins/irc/CMakeFiles/irc.dir/depend
cd /usr/ports/pobj/weechat-devel-20120917/weechat-devel &&
/usr/local/bin/cmake -E cmake_depends "Unix Makefiles"
/usr/ports/pobj/weechat-devel-20120917/weechat-devel
/usr/ports/pobj/weechat-devel-20120917/weechat-devel/src/plugins/irc
/usr/ports/pobj/weechat-devel-20120917/weechat-devel
/usr/ports/pobj/weechat-devel-20120917/weechat-devel/src/plugins/irc
/usr/ports/pobj/weechat-devel-20120917/weechat-devel/src/plugins/irc/CMakeFiles/irc.dir/DependInfo.cmake
--color=
make -f src/plugins/irc/CMakeFiles/irc.dir/build.make
src/plugins/irc/CMakeFiles/irc.dir/build
Linking C shared module irc.so
cd /usr/ports/pobj/weechat-devel-20120917/weechat-devel/src/plugins/irc &&
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/irc.dir/link.txt
--verbose=1
/usr/bin/cc  -fPIC -O2 -pipe   -Wall -W -Werror-implicit-function-declaration 
-shared -Wl,-soname,irc.so -o irc.so CMakeFiles/irc.dir/irc.o
CMakeFiles/irc.dir/irc-bar-item.o CMakeFiles/irc.dir/irc-buffer.o
CMakeFiles/irc.dir/irc-channel.o CMakeFiles/irc.dir/irc-color.o
CMakeFiles/irc.dir/irc-command.o CMakeFiles/irc.dir/irc-completion.o
CMakeFiles/irc.dir/irc-config.o CMakeFiles/irc.dir/irc-ctcp.o
CMakeFiles/irc.dir/irc-debug.o CMakeFiles/irc.dir/irc-display.o
CMakeFiles/irc.dir/irc-ignore.o CMakeFiles/irc.dir/irc-info.o
CMakeFiles/irc.dir/irc-input.o CMakeFiles/irc.dir/irc-message.o
CMakeFiles/irc.dir/irc-mode.o CMakeFiles/irc.dir/irc-msgbuffer.o
CMakeFiles/irc.dir/irc-nick.o CMakeFiles/irc.dir/irc-notify.o
CMakeFiles/irc.dir/irc-protocol.o CMakeFiles/irc.dir/irc-raw.o
CMakeFiles/irc.dir/irc-redirect.o CMakeFiles/irc.dir/irc-sasl.o
CMakeFiles/irc.dir/irc-server.o CMakeFiles/irc.dir/irc-upgrade.o
/usr/local/lib/libgnutls.so.17.1 -lgcrypt
-Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib 
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
*** Error code 1

libgcrypt is installed in /usr/local/lib/libgcrypt.so.15.0.
The last snapshot of weechat I was able to built linked successfully against
it. The /usr/local/lib path is in arguments too, so ld should be able to find
it...

Please let me know if you need more infos or anything.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37373>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]