1. Could not open wxEuphoria library. Press enter to abort.
- Posted by kiru Jan 16, 2013
- 1735 views
Hello I am a new user. I have stubled across this site and Euphoria seems a very promising language. I find it a really good compromise between ease of use and power. And I hope to be able to use it. However I also need to a cross platform gui interface and I am not able to install wxEuphoria.
I am using Ubuntu linux 12.04 64 bits and I have tried to install Euphoria both with the provided deb package and with the archive. I have tried wxEuphoria both the precompiled libwxeu.so and the one I have compiled. I always get the same message when executing "include wxeud.e." "Could not open wxEuphoria library. Press enter to abort " I have found the following post in the forum which is similar to my problem, but fails to resolve it. It does not seem to be a problem of sim link. http://test.openeuphoria.org/forum/110825.wc.
Running "ldd /usr/lib/libwxeu.so" shows the correct output as for the post 110825
Executing "wxWidgets = open_dll( "libwxeu.so" )" seems to load the library but then I am unable to use it.
I am out of my depth here. Anybody who can help?
Thank you
Forked into: test.openeuphoria.org is open to the world
2. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by jimcbrown (admin) Jan 16, 2013
- 1640 views
Hello I am a new user. I have stubled across this site and Euphoria seems a very promising language. I find it a really good compromise between ease of use and power. And I hope to be able to use it. However I also need to a cross platform gui interface and I am not able to install wxEuphoria.
I am using Ubuntu linux 12.04 64 bits and I have tried to install Euphoria both with the provided deb package and with the archive. I have tried wxEuphoria both the precompiled libwxeu.so and the one I have compiled. I always get the same message when executing "include wxeud.e." "Could not open wxEuphoria library. Press enter to abort "
You are installing a version of Euphoria 4.0 (4.0.5 or older). Despite the presence of a 64bit package, the Euphoria binaries are 32bit. (Yes, even the 64bit package installs 32bit binaries.)
However, your wxEuphoria library is probably 64bit. A 32bit Euphoria will never be able to open a 64bit wxEuphoria library.
See http://openeuphoria.org/forum/118108.wc#118108 and http://openeuphoria.org/forum/m/115690.wc
I have found the following post in the forum which is similar to my problem, but fails to resolve it. It does not seem to be a problem of sim link. http://test.openeuphoria.org/forum/110825.wc.
http://openeuphoria.org/forum/110825.wc is the correct link. Don't use test - the posts on there may change randomly and without warning.
Running "ldd /usr/lib/libwxeu.so" shows the correct output as for the post 110825
I'm quite confused by this. Can you show the full output of ldd, for both the precompiled libwxeu.so and the version that you compiled yourself?
Also, the output of running 'file /usr/lib/libwxeu.so' for both versions.
Executing "wxWidgets = open_dll( "libwxeu.so" )" seems to load the library but then I am unable to use it.
I am out of my depth here. Anybody who can help?
Thank you
What is the value of the variable wxWidgets after then open_dll() call?
3. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by ghaberek (admin) Jan 16, 2013
- 1626 views
I am out of my depth here. Anybody who can help?
I've run into the same problems you describe. And that's kind of sad because I'm one of the developers on wxEuphoria.
I'm pretty sure the issue is with running 32-bit Euphoria on a 64-bit OS. I have gotten it working after much fiddling around. Here are my recommendations:
- Make sure libwxeu.so is in /usr/local/lib (it should be if you make/make install), then run these commands:
cd /usr/local/lib
sudo ldconfig
- Try rebooting. Seriously, sometimes that's all I've done to get it working.
- Setup a 32-Bit Chroot "jail" and install Euphoria and wxEuphoria there, and use that for your development.
- Install a 32-bit version of your OS until we get everything ironed out for 64-bit (i.e. release of Euphoria 4.1).
-Greg
4. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by kiru Jan 16, 2013
- 1661 views
Thank you Greg for you fast reply. At this point the easiest path is to set up a development system 32 bi and I will than post another message on this thread to let you how it went. I put here the ldd results anyway. The first is the precompiled library, the second the one on my ubuntu 12.04 64bit
$ ldd libwxeu.so linux-vdso.so.1 => (0x00007fff70145000) libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_richtext-2.8.so.0 (0x00007f8d2bfe7000) libwx_gtk2u_aui-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-2.8.so.0 (0x00007f8d2bd7f000) libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_xrc-2.8.so.0 (0x00007f8d2baf5000) libwx_gtk2u_qa-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_qa-2.8.so.0 (0x00007f8d2b8d5000) libwx_gtk2u_html-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0 (0x00007f8d2b632000) libwx_gtk2u_adv-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-2.8.so.0 (0x00007f8d2b356000) libwx_gtk2u_core-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0 (0x00007f8d2ad70000) libwx_baseu_xml-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu_xml-2.8.so.0 (0x00007f8d2ab66000) libwx_baseu_net-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0 (0x00007f8d2a938000) libwx_baseu-2.8.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0 (0x00007f8d2a5f4000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8d2a2f4000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8d29ff7000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8d29de1000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8d29bc4000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8d29804000) libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007f8d291ca000) libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007f8d28f18000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f8d28cc8000) libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f8d28aa8000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f8d287b2000) libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f8d28569000) libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f8d28366000) libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f8d2815d000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f8d27f35000) libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f8d27ce5000) libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4 (0x00007f8d27a81000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f8d27857000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8d2763f000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8d2743b000) /lib64/ld-linux-x86-64.so.2 (0x00007f8d2c5e8000) libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f8d2722e000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f8d26efa000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f8d26cf4000) libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f8d26ad1000) libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f8d26813000) libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f8d264c4000) libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f8d26299000) libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f8d26063000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f8d25e52000) libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f8d25c47000) libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f8d25a38000) libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f8d2582f000) libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f8d25624000) libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f8d25421000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f8d2521e000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f8d25015000) libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f8d24e11000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f8d24bd3000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8d249cb000) libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f8d247b1000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f8d245ab000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f8d2430f000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f8d240f0000) libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f8d23e69000) libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f8d23c66000) libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f8d23a5b000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f8d2383c000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f8d23620000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f8d2341c000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f8d23216000) $ ldd libwxeu.so.16 linux-gate.so.1 => (0xf77a3000) libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_richtext-2.8.so.0 (0xf75c6000) libwx_gtk2u_aui-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_aui-2.8.so.0 (0xf7567000) libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_xrc-2.8.so.0 (0xf74e8000) libwx_gtk2u_qa-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_qa-2.8.so.0 (0xf74cc000) libwx_gtk2u_html-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_html-2.8.so.0 (0xf743e000) libwx_gtk2u_adv-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0 (0xf7389000) libwx_gtk2u_core-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0 (0xf7055000) libwx_baseu_xml-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu_xml-2.8.so.0 (0xf704a000) libwx_baseu_net-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu_net-2.8.so.0 (0xf7020000) libwx_baseu-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0 (0xf6ee2000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6dfd000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6dd1000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6db2000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6d97000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6bed000) libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xf6785000) libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xf66d6000) libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf6686000) libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xf6665000) libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf656c000) libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xf6522000) libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xf651e000) libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf6514000) libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf64ea000) libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xf6493000) libtiff.so.4 => /usr/lib/i386-linux-gnu/libtiff.so.4 (0xf6430000) libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6406000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf63ef000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf63ea000) /lib/ld-linux.so.2 (0xf77a4000) libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xf63dd000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf62a9000) libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf62a3000) libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xf6282000) libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xf61b7000) libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf6060000) libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xf6034000) libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf6000000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf5fed000) libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf5fe3000) libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf5fd3000) libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf5fca000) libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf5fbf000) libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xf5fba000) libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf5fb6000) libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf5faf000) libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf5faa000) libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf5f6e000) librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf5f64000) libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf5f4a000) libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf5f44000) libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf5eaa000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf5e89000) libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xf5df0000) libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xf5dec000) libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xf5de2000) libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf5dc3000) libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf5dab000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf5da6000) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf5d9f000)My compliments for the huge work you are doing
[Edited to format the console output. -Matt]
5. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by Jerome Jan 16, 2013
- 1600 views
Just as another data point, I'm successfully using 64bit Euphoria 4.1 with wxEuphoria on my Ubuntu 11.10 64 bit system.
$ eui -v Euphoria Interpreter v4.1.0 development 64-bit Linux, Using System Memory Revision Date: 2012-11-08 13:38:16, Id: 5826:79c875319629
If you don't mind using the pre-alpha release of Eu 4.1, everything should work smoothly with 64 bit libraries for wxWidgets!
$ file libwxeu.so.16 libwxeu.so.16: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
A 4.1 pre-alpha is available from here or you can compile Euphoria from source.
Hope this helps,
Ira
6. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by ghaberek (admin) Jan 16, 2013
- 1587 views
Just as another data point, I'm successfully using 64bit Euphoria 4.1 with wxEuphoria on my Ubuntu 11.10 64 bit system.
If you don't mind using the pre-alpha release of Eu 4.1, everything should work smoothly with 64 bit libraries for wxWidgets!
A 4.1 pre-alpha is available from here or you can compile Euphoria from source.
As previously mentioned I am working on a new release of wxEuphoria which will better support Euphoria 4.0+, including better support for 64-bit Euphoria 4.1.
Soon!
-Greg
7. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by EUWX Jan 16, 2013
- 1535 views
As previously mentioned I am working on a new release of wxEuphoria which will better support Euphoria 4.0+, including better support for 64-bit Euphoria 4.1.
Soon!
-Greg
SOON! I AM WAITING.........
8. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by buzzo Jan 17, 2013
- 1518 views
Using Linux Mint 14.
Have Euphoria installed as well as wxWidgets.
WxWidgets-2.8.12 folder is at /home/buzz..
WxEuphoria folder same location
Have run most of the testXX.ex programs.. from a terminal and file browser.
Added a shbang to the provided code #!/usr/bin/env eui
then sudo chmod +x filename
Hope this helps
Buzzo
9. Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by kiru Jan 18, 2013
- 1390 views
OK I got working on kubuntu 12.04 32 bit. I have not been able to make work on my Ubuntu 12.04 64 bit, even with the suggested alpha version of euphoria. I will use it on the 32 bit environment. Thank you all.