Description of problem: wx driver can't load wx shared lib due to type mismatch. Version-Release number of selected component (if applicable): erlang-wx-R14B-02.1.fc14.i686 How reproducible: $ erl Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false] Eshell V5.8.3 (abort with ^G) 1> wx:new(). =ERROR REPORT==== 30-Jun-2011::18:16:20 === WX Failed loading "wxe_driver"@"/usr/lib/erlang/lib/wx-0.98.9/priv" ** exception error: {load_driver,"symbol _ZN16wxStyledTextCtrl7SendMsgEill, version WXU_2.8 not defined in file libwx_gtk2u_stc-2.8.so.0 with link time reference"} in function wxe_server:start/0 in call from wx:new/1 2> Additional info: Erlang WX driver looks for mangled name _ZN16wxStyledTextCtrl7SendMsgEill in the library libwx_gtk2u_stc-2.8.so.0, which has instead _ZN16wxStyledTextCtrl7SendMsgEiml: $ strings /usr/lib/libwx_gtk2u_stc-2.8.so.0 |grep _ZN16wxStyledTextCtrl7SendMsgEi _ZN16wxStyledTextCtrl7SendMsgEiml i.e. Erlang WX driver looks for: wxStyledTextCtrl::SendMsg(int, long, long) but actual library has: wxStyledTextCtrl::SendMsg(int, unsigned long, long) $ rpm -qf /usr/lib/libwx_gtk2u_stc-2.8.so.0 wxGTK-2.8.12-1.fc14.i686
Not sure why wxGTK headers have been changed, but simple rebuild of the erlang rpms from source fixed the problem. Could erlang be scheduled for rebuild any soon?
Still seeing this in 15. Can I help with any additional testing Peter ?
Specific error message that I'm getting. (mysample.0.1)4> wx:new(). =ERROR REPORT==== 20-Jul-2011::02:16:53 === WX Failed loading "wxe_driver"@"/home/wmealing/Documents/workspace/mysample/rel/mysample/lib/wx-0.98.9/priv" ** exception error: {load_driver,"symbol _ZN16wxStyledTextCtrl7SendMsgEill, version WXU_2.8 not defined in file libwx_gtk2u_stc-2.8.so.0 with link time reference"} in function wxe_server:start/0 in call from wx:new/1 Versions: erlang-wx-R14B-02.1.fc15.x86_64 wxGTK-2.8.12-1.fc15.x86_64
Peter, please recompile.... It's not actually a bug - just matter of versions synchronization... just simple recompiling would solve this annoying (for more than 2 week) problem and make people happy! Thanks.
(In reply to comment #4) > Peter, please recompile.... It's not actually a bug - just matter of versions > synchronization... just simple recompiling would solve this annoying (for more > than 2 week) problem and make people happy! > Thanks. I cant simply recompile it w/o adding NEVR issues which I'd like to avoid. And the recompilation in Rawhide is blocked by another issue (see issue #689930).
Is there any reason you can't just add a 1 after the dist tag ?
FYI http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Minor_release_bumps_for_old_branches
erlang-R14B-03.2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/erlang-R14B-03.2.fc15
erlang-R14B-03.1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/erlang-R14B-03.1.fc14
Package erlang-R14B-03.2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing erlang-R14B-03.2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/erlang-R14B-03.2.fc15 then log in and leave karma (feedback).
Works now, thank you!
Beauty ! All good on this end. Karma deposited.
erlang-R14B-03.1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
erlang-R14B-03.2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.