bugWeeChat - Bugs: bug #26545, Undefined symbol : pow in lua.so...

 
 

bug #26545: Undefined symbol : pow in lua.so extension

Submitter:  None
Submitted:  Tue 12 May 2009 07:38:26 PM UTC
   
 
Category:  plugins Severity:  3 - Normal
Item Group:  compile/install Status:  Invalid
Privacy:  Public Assigned to:  flashcode
Originator Name:  Vincent R. Originator Email:  * -email is unavailable-
Open/Closed:  Closed Release:  * 0.3.0
IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 20 May 2009 01:18:00 PM UTC, comment #6: 

I checked on a debian sid, liblua.so links against libm, but on ArchLinux liblua.so doesn't. So it's definitely an ArchLinux problem, I'll open a bug there.

Vincent R. <sphax>
Wed 20 May 2009 12:33:29 PM UTC, comment #5: 

I think it can be a problem with lua in Archlinux. Can you check that with lua archlinux maintainer ?

Sebastien Helleu <flashcode>
Group administrator
Tue 12 May 2009 08:22:24 PM UTC, comment #4: 

Linking C executable weechat-curses
cd /home/sphax/dev/archlinux/weechat-git/src/weechat-build/src/gui/curses && /usr/bin/cmake -E cmake_link_script CMakeFiles/weechat-curses.dir/link.txt --verbose=1
/usr/bin/gcc  -march=i686 -mtune=generic -O2 -pipe  -Wall -W -Werror-implicit-function-declaration -g  -L/usr/lib -L/usr/lib -fPIC CMakeFiles/weechat-curses.dir/gui-curses-bar-window.o CMakeFiles/weechat-curses.dir/gui-curses-chat.o CMakeFiles/weechat-curses.dir/gui-curses-color.o CMakeFiles/weechat-curses.dir/gui-curses-keyboard.o CMakeFiles/weechat-curses.dir/gui-curses-main.o CMakeFiles/weechat-curses.dir/gui-curses-window.o  -o weechat-curses -rdynamic ../libweechat_gui_common.a ../../plugins/libweechat_plugins.a ../../core/libweechat_core.a -lgnutls -ldl -lncursesw ../libweechat_gui_common.a ../../plugins/libweechat_plugins.a ../../core/libweechat_core.a

Vincent R. <sphax>
Tue 12 May 2009 08:05:51 PM UTC, comment #3: 

Are you compiling with cmake or autotools (cmake is now recommended) ?
With cmake, make VERBOSE=1. Please paste link with lua library to see list of libraries.

Sebastien Helleu <flashcode>
Group administrator
Tue 12 May 2009 08:03:00 PM UTC, comment #2: 

I'm using ArchLinux, with lua 5.1.4.

Vincent R. <sphax>
Tue 12 May 2009 07:57:50 PM UTC, comment #1: 

What is your linux distribution and lua version ? It's supposed to work with lua 5.1.4 (tested on debian sid) or older versions.

Sebastien Helleu <flashcode>
Group administrator
Tue 12 May 2009 07:38:26 PM UTC, original submission:  

Hi,

this is what I get when launching weechat:

Erreur: impossible de charger l'extension "/usr/lib/weechat/plugins/lua.so": /usr/lib/liblua.so: undefined symbol: pow
Extensions chargées: alias, aspell, charset, fifo, irc, logger, perl, python, ruby, xfer

The problem seems to be weechat not linking against libm.so

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sphax (Posted a comment)
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-06 flashcode Open/ClosedOpen Closed
        Release3.3-dev 0.3.0
    2009-05-27 flashcode StatusNeed Info Invalid
    2009-05-12 flashcode CategoryNone plugins
        Item GroupNone compile/install
        StatusNone Need Info
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code