Subject Re: [ib-support] Installation problems in Firebird for Linux
Author Mark O'Donohue
William L. Thomson Jr. wrote:

> Sujan,
>
> On Sat, 2002-12-14 at 08:15, Sujan Sreenath wrote:
>
> >Hello Everybody.
> >
> >I have been using Firebird v1.0 for Windows and now just installed
> >Firebird v1.0 for Linux on Mandrake v8.0. I am new to Linux and am
> >facing some problems.
> >
> >It has been installed in /opt/interbase
> >
> >How do I check if Firebird is running?
>
>
> From command line type ps xa
>
> or
>
> ps xa | grep ib
>
>
> >In the process manager there are three entries for
> >/opt/interbae/bin/ibserver and also one entry for
> >/opt/interbase/bin/ibguard -f
> >what does all this mean???
>
>
> It means that the guardian process and server are up and running.
>
>
> >I tried to use ISQL to connect to the
> >/opt/interbase/examples/employee.gdb but it does not work.
> >
> >ISQL command line options are DSN [UID] [PWD] [options]
> >but when I type: " isql /opt/interbase/examples/employee.gdb -user
> >sysdba -password masterkey" nothing happens.
>
>
> What nothing happens? Do you get a
> SQL>
> prompt?
>
> Do you get a command not found.
>
> Nothing does not seem valid?
>
>
> >Next I tried to see if I can connect to Firebird using a graphical
> >interface. I downloaded IBAccess for Linux from www.ibaccess.org. It
> >got installed in /home/sujan/ibaccess. To run it I typed at the
> >terminal screen: "bash ibaccess.sh" which opens the GUI
>
>
> Good, my favorite one in Linux. But if you install Wine, you can also
> use IBConsole, IBOConsole, and ZDE. They all work for me under Wine in
> Linux. Some are a little quirky, but usable.
>
>
> >In the GUI when I try to connect to the employee.gdb it terminates
> >with the following message: "./ibaccess: error while loading shared
> >libraries: /usr/lib/libgds.so.0:undefined symbol: crypt"
>
>
> Answered in another email. You may check to see if you have it though.
> When installing and running Firebird/InterBase I have had to make
> symbolic links to the correct version of the library I have installed.
>
> Ex,
>
> if it looks for libcrypt.so.1, you may have libcrypt.so.2,
> so link 2 to 1.
>
> Although I do not remember that being the case with libcrypt, I do
> remember it being the case for anther .so. Although I seem to remember
> it keeping me from being able to start Firebird/InterBase all together.
> So you may not run into that one.
>
>
> >I checked up that /usr/lib/libgds.so.0 points to
> >/opt/interbase/lib/libgds.so.0. All the files are owned by root. I
> >have logged in as "root" would that create a problem?
>
>
> From a security stand point yes. See the other post for suggestions,
> instead of me making the same twice.
>
>
> >Please help. I am not able to use Firebird at all. I am planning on
> >developing project using Firebird. But right now I cannot even
> >connect to a database!!!
> >
>

There are a few good hints on troubleshooting a linux install here (and
I use mandrake, so it shouldn't be too far off your case):

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/firebird/firebird2/doc/README.user.troubleshooting?rev=1.1&content-type=text/vnd.viewcvs-markup

Watch out for word wrap. It should be applicable except where you see
/usr/local/firebird you will need /opt/interbase.


Cheers

Mark