1. Could not open wxEuphoria library.

I'm getting:
"Could not open wxEuphoria library."

In /usr/local/lib I have
libwxeu.so
libwxeu.so.12
libwxeu.so.13

Why can't the wxEuphoria library be opened?

Something that might be relevant: I couldn't get anything to work with EU 4.0 so I went back to EU 3.1. Maybe there is some chance I didn't do that right. I renamed the euphoria directory (with EU 4.0) to euphoria4 and made another directory named euphoria and put EU 3.1 in it.

new topic     » topic index » view message » categorize

2. Re: Could not open wxEuphoria library.

Jerry_Story said...

I'm getting:
"Could not open wxEuphoria library."

I get the same problem with wxEuphoria in Windows Vista. I used the wxEu path of svn rev 389 und applied dist.bat to build the distro. But I am not sure if it is a problem because of using OpenWatcom 1.8 for creating the dlls. With OW 1.8 I cannot even build the dlls correctly for wxwidgets-2.8.7. I can build the dlls with wxwidgets-2.8.10 but they also do not work.

Roland

new topic     » goto parent     » topic index » view message » categorize

3. Re: Could not open wxEuphoria library.

RStowasser said...
Jerry_Story said...

I'm getting:
"Could not open wxEuphoria library."

I get the same problem with wxEuphoria in Windows Vista. I used the wxEu path of svn rev 389 und applied dist.bat to build the distro. But I am not sure if it is a problem because of using OpenWatcom 1.8 for creating the dlls. With OW 1.8 I cannot even build the dlls correctly for wxwidgets-2.8.7. I can build the dlls with wxwidgets-2.8.10 but they also do not work.

There was a change in OpenWatcom that required a makefile change for 1.8. The makefile.wat in svn is updated.

Can you use open_dll in a test program to successfully open the dll/so? Jerry, you may need to run ldconfig to get your OS to see the libraries.

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: Could not open wxEuphoria library.

Jerry_Story said...

I'm getting:
"Could not open wxEuphoria library."

In /usr/local/lib I have
libwxeu.so
libwxeu.so.12
libwxeu.so.13

Why can't the wxEuphoria library be opened?

Something that might be relevant: I couldn't get anything to work with EU 4.0 so I went back to EU 3.1. Maybe there is some chance I didn't do that right. I renamed the euphoria directory (with EU 4.0) to euphoria4 and made another directory named euphoria and put EU 3.1 in it.

Make sure your paths are updated...

$ cd /usr/local/lib 
$ sudo ldconfig 


Also, check your dependancies...

$ cd /usr/local/lib 
$ ldd libwxeu.so 
        linux-gate.so.1 =>  (0xb7f94000) 
        libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/libwx_gtk2u_richtext-2.8.so.0 (0xb7df2000) 
        libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0 (0xb7d9a000) 
        libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/libwx_gtk2u_xrc-2.8.so.0 (0xb7cfe000) 
        libwx_gtk2u_qa-2.8.so.0 => /usr/lib/libwx_gtk2u_qa-2.8.so.0 (0xb7cde000) 
        libwx_gtk2u_html-2.8.so.0 => /usr/lib/libwx_gtk2u_html-2.8.so.0 (0xb7c3d000) 
        libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0 (0xb7b77000) 
        libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0 (0xb77e5000) 
        libwx_baseu_xml-2.8.so.0 => /usr/lib/libwx_baseu_xml-2.8.so.0 (0xb77da000) 
        libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0 (0xb77ab000) 
        libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0xb764c000) 
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7559000) 
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7534000) 
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7528000) 
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7510000) 
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb73c1000) 
        libz.so.1 => /usr/lib/libz.so.1 (0xb73ac000) 
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb73a8000) 
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7031000) 
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6fac000) 
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6f92000) 
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6f7a000) 
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6f3d000) 
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6f01000) 
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6efc000) 
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6ef7000) 
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6eee000) 
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6e3d000) 
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6e3a000) 
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6e32000) 
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6e0e000) 
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6dee000) 
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb6d9b000) 
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6d7a000) 
        /lib/ld-linux.so.2 (0xb7f95000) 
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6d70000) 
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6c89000) 
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6c86000) 
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6c83000) 
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6c7e000) 
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6c1c000) 
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6bf1000) 
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6be3000) 
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6bdb000) 
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6bd3000) 
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6bcd000) 
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6bc3000) 
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb6b9c000) 
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6b84000) 
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6b5d000) 
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6aef000) 
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6aed000) 
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6ad5000) 
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6aac000) 
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6aa9000) 
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6aa3000) 


Then run a test on the library manually...

include dll.e 
 
atom libwxeu 
 
    libwxeu = open_dll( "/usr/local/lib/libwxeu.so" ) 
    if libwxeu = -1 then 
        puts( 2, "open_dll() failed!\n" ) 
    end if 


-Greg

new topic     » goto parent     » topic index » view message » categorize

5. Re: Could not open wxEuphoria library.

ghaberek said...

Make sure your paths are updated...

$ cd /usr/local/lib 
$ sudo ldconfig 


Also, check your dependancies...

{{{ $ cd /usr/local/lib $ ldd libwxeu.so


Then run a test on the library manually...

I have wxeu.so. I don't have libwxeu.so. Do I need libwxeu.so? Or is libwxeu.so.13 good enough?

new topic     » goto parent     » topic index » view message » categorize

6. Re: Could not open wxEuphoria library.

Jerry_Story said...
ghaberek said...

Make sure your paths are updated...

$ cd /usr/local/lib 
$ sudo ldconfig 


Also, check your dependancies...

{{{ $ cd /usr/local/lib $ ldd libwxeu.so


Then run a test on the library manually...

I have wxeu.so. I don't have libwxeu.so. Do I need libwxeu.so? Or is libwxeu.so.13 good enough?

libwxeu.so.13 is the one you want to use.

Matt

new topic     » goto parent     » topic index » view message » categorize

7. Re: Could not open wxEuphoria library.

Jerry_Story said...

In /usr/local/lib I have
libwxeu.so
libwxeu.so.12
libwxeu.so.13

Correction: I have wxeu.so instead of libwxeu.so

ghaberek said...

Make sure your paths are updated...

$ cd /usr/local/lib 
$ sudo ldconfig 

Done that.

said...


Also, check your dependancies...

$ cd /usr/local/lib 
$ ldd libwxeu.so 

It doesn't do anything with libwxeu.so but it works with libwxeu.so.13 and that seems to be okay.

said...


Then run a test on the library manually...

include dll.e 
 
atom libwxeu 
 
    libwxeu = open_dll( "/usr/local/lib/libwxeu.so" ) 
    if libwxeu = -1 then 
        puts( 2, "open_dll() failed!\n" ) 
    end if 


-Greg

This test passed. I added
else puts(1, "success! \n")

I'm still getting
Could not open wxEuphoria library. Press enter to abort.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Could not open wxEuphoria library.

wxEuphoria is trying to load "libwxeu.so.%d" where %d is the build version required (12, 13, etc.) or "libwxeu.so" which can be a symbolic pointer to the current build version (see below). But it is not trying to load "wxeu.so" or anything like that.

constant wxNEED_BUILD = 13 
 
atom wxWidgets 
 
if platform() = LINUX then 
    -- This is the one we really want 
    wxWidgets = open_dll( sprintf("libwxeu.so.%d", wxNEED_BUILD ) ) 
    if wxWidgets = 0 then 
        -- But a later one should be fine, too 
        wxWidgets = open_dll( "libwxeu.so" ) 
    end if 
     
else 
    wxWidgets = open_dll( "libwxeu.dll" ) 
end if 


To make a symbolic link to the library...

$ cd /usr/local/lib 
$ sudo ln -s libwxeu.so.13 libwxeu.so 


-Greg

new topic     » goto parent     » topic index » view message » categorize

9. Re: Could not open wxEuphoria library.

Jerry_Story said...
Jerry_Story said...

In /usr/local/lib I have
libwxeu.so
libwxeu.so.12
libwxeu.so.13

Correction: I have wxeu.so instead of libwxeu.so

That's an older version of the library. What version of wxEuphoria are you trying to use?

Matt

new topic     » goto parent     » topic index » view message » categorize

10. Re: Could not open wxEuphoria library.

ghaberek said...


To make a symbolic link to the library...

$ cd /usr/local/lib 
$ sudo ln -s libwxeu.so.13 libwxeu.so 


-Greg

That was the problem. Now it's starting to work.

new topic     » goto parent     » topic index » view message » categorize

11. Re: Could not open wxEuphoria library.

mattlewis said...
Jerry_Story said...
Jerry_Story said...

In /usr/local/lib I have
libwxeu.so
libwxeu.so.12
libwxeu.so.13

Correction: I have wxeu.so instead of libwxeu.so

That's an older version of the library. What version of wxEuphoria are you trying to use?

Matt

I might have a program or 2 that uses the older version. But I'm trying to use the latest version.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu