Real Software Forums
http://forums.realsoftware.com/

ShowURL doesn't work on linux
http://forums.realsoftware.com/viewtopic.php?f=8&t=36459
Page 1 of 1

Author:  anubisg1 [ Sat Nov 27, 2010 7:30 pm ]
Post subject:  ShowURL doesn't work on linux

Hello, i'm running openSUSE 11.3 and ShowURL simply does nothing.. it don't even try to open the browser...

i found this topic already

viewtopic.php?f=8&t=34043

but it doesn't really help..
any way to debug it? to understand why the browser doesn't start?

ShowURL string should work as "xdg-open string"

thanks for your help

Author:  Bob Keeney [ Sat Nov 27, 2010 10:35 pm ]
Post subject:  Re: ShowURL doesn't work on linux

What is the URL you are trying to open? If the URL isn't valid showurl will fail silently.

Author:  anubisg1 [ Sun Nov 28, 2010 2:43 am ]
Post subject:  Re: ShowURL doesn't work on linux

Bob Keeney wrote:
What is the URL you are trying to open? If the URL isn't valid showurl will fail silently.


It's a simple url like http://www.google.com or mailto:mymail@provider.it

I use to write code in C. The software works flawless on windows

Author:  Bob Keeney [ Sun Nov 28, 2010 1:24 pm ]
Post subject:  Re: ShowURL doesn't work on linux

I don't spend much time in Linux so, to me at least, it sounds like a bug that should be reported through Feedback. This might be a dumb question, but what browser do you have installed in your Linux distro?

Author:  anubisg1 [ Sun Nov 28, 2010 2:09 pm ]
Post subject:  Re: ShowURL doesn't work on linux

Bob Keeney wrote:
I don't spend much time in Linux so, to me at least, it sounds like a bug that should be reported through Feedback. This might be a dumb question, but what browser do you have installed in your Linux distro?


my default web browser is Mozilla Firefox, and i also have google-chrome!

where can i find the bug traker? according to a gdb the application try to "start something" but i don't know how to debug more since i have no direct access to the source code of that function..


(gdb) r
Starting program: /home/anubis/Scrivania/Builds - url-manager.rbp/Linux/MiaApplicazione
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=f7c45d03f771de452fad759ca59ee9f9d00aa7c7"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=ed19d3ea7174f0d3a3d72bd4f6604eb9414f0bbe"
Detaching after fork from child process 12282.
Detaching after fork from child process 12283.
Detaching after fork from child process 12284.
Detaching after fork from child process 12285.
Detaching after fork from child process 12286.

Program


any time i press the button that should run ShowURL it "try" to detach a process.. but nothing appen..

btw, the code is corrent, since it's the Real Basic quick start tutorial, and it works on windows

Author:  Carharttguy [ Sun Nov 28, 2010 2:13 pm ]
Post subject:  Re: ShowURL doesn't work on linux

anubisg1 wrote:
(gdb) r
Starting program: /home/anubis/Scrivania/Builds - url-manager.rbp/Linux/MiaApplicazione
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=f7c45d03f771de452fad759ca59ee9f9d00aa7c7"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=ed19d3ea7174f0d3a3d72bd4f6604eb9414f0bbe"
Detaching after fork from child process 12282.
Detaching after fork from child process 12283.
Detaching after fork from child process 12284.
Detaching after fork from child process 12285.
Detaching after fork from child process 12286.
Program


any time i press the button that should run ShowURL it "try" to detach a process.. but nothing appen..

btw, the code is corrent, since it's the Real Basic quick start tutorial, and it works on windows


Well, your ouput says:
Quote:
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=f7c45d03f771de452fad759ca59ee9f9d00aa7c7"


Maybe try this? Or you could try to reinstall libstdc++?

Author:  anubisg1 [ Sun Nov 28, 2010 5:35 pm ]
Post subject:  Re: ShowURL doesn't work on linux

Carharttguy wrote:
Well, your ouput says:
Quote:
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=f7c45d03f771de452fad759ca59ee9f9d00aa7c7"


Maybe try this? Or you could try to reinstall libstdc++?


sorry to say, but you may lack some knowledge. gdb is a debugger. in order to properly debug it requires to load "debug symbols" for the software and the libraries loaded by the software you will debug.

with gcc gcc+ debugging symbols are created during compilation time with the compiler flag "-g" to improve performances, such debug symbols can be stripped and installed only if and when needed.

the warning is only telling you that gdb cannot find debug symbols. the library working fine.


any way, after furter debugging and investigations, i noticed that on my i586 machine, the software run as supposed, on the one that i usually use (same setup but running an x86_64 OS) it doesn't work..

i should have all the 32bit compatibily libraries needed bu the software it would not even run, but still.. i cannot understand what is going wrong.. i'll repeat some tests later tomorrow, to see if i can have more feedback.

of course i believe that i can have no access at all to the code of that particular function right?

Author:  anubisg1 [ Mon Nov 29, 2010 3:05 am ]
Post subject:  Re: ShowURL doesn't work on linux

after further changes i can confirm,, the problem looks to be a 64bit system, i'm going to report to the bug tracker.

because i cannot find an "edit button" i wonder if the mods could please change the tile of this 3d to:

ShowURL doesn't work on linux 64bit

thanks.

any help to understand the problem and how to fix it is welcome!

Author:  npalardy [ Mon Nov 29, 2010 9:30 am ]
Post subject:  Re: ShowURL doesn't work on linux

Install the 32 bit libraries for Linux

RB is and creates 32 bit applications and without the 32 bit support libraries you will have problems

Author:  anubisg1 [ Mon Nov 29, 2010 10:44 am ]
Post subject:  Re: ShowURL doesn't work on linux

the problem is.. what libraries?

according to ldd all libraries needed by the main binary are installed

anubis@linux-e1uf:~> ldd /opt/REALSoftware/REALStudio2010r4.1/REAL\ Studio\ 2010
linux-gate.so.1 => (0xffffe000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xf7257000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xf71ac000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xf71a7000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf70c1000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xf70ba000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xf7071000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xf7052000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xf7007000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xf6ffa000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xf6fc5000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xf6faa000)
   libdl.so.2 => /lib/libdl.so.2 (0xf6fa5000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0xf6f95000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xf6f83000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xf6e48000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6d57000)
   libm.so.6 => /lib/libm.so.6 (0xf6d2d000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6d0f000)
   libc.so.6 => /lib/libc.so.6 (0xf6ba4000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0xf6b19000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf6b13000)
   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xf6af3000)
   libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xf6a39000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf6a03000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf69f8000)
   libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf69f4000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf69ea000)
   libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf69de000)
   libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xf69da000)
   libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf69d6000)
   libpcre.so.0 => /lib/libpcre.so.0 (0xf69a7000)
   librt.so.1 => /lib/librt.so.1 (0xf699c000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6915000)
   /lib/ld-linux.so.2 (0xf76e7000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf68f5000)
   libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xf6884000)
   libpng14.so.14 => /usr/lib/libpng14.so.14 (0xf6857000)
   libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xf6852000)
   libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xf6848000)
   libz.so.1 => /lib/libz.so.1 (0xf6834000)
   libresolv.so.2 => /lib/libresolv.so.2 (0xf681d000)
   libselinux.so.1 => /lib/libselinux.so.1 (0xf67fe000)
   libexpat.so.1 => /lib/libexpat.so.1 (0xf67d3000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xf67cf000)


even libgtkhtml is there (after i figured out why help wasn't working)

how can i detect all needed libs? or just the missing ones?

the .rpm and .deb should not hide the dependencies if they are not provided by the package itsealf, linux allow to install without any issue 32bit libs in a 64bit system but it require that the package has the proper dependencies. if that is the case, i would consider it a packaging bug (i'm an openSUSE official packager, so i know what i'm talking about, and i can help to create the proper rpms if needed)

thanks for your help

Author:  npalardy [ Tue Sep 18, 2012 2:10 pm ]
Post subject:  Re: ShowURL doesn't work on linux

Open terminal and tell me what
echo $BROWSER

does

Author:  f_hendriksen [ Wed Sep 19, 2012 3:05 am ]
Post subject:  Re: ShowURL doesn't work on linux

Check http://forums.realsoftware.com/viewtopic.php?f=8&t=45380

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/