Subject | Re: [firebird-support] Firebird Embedded on Linux help |
---|---|
Author | Fulvio Senore |
Post date | 2008-02-06T22:15:20Z |
I followed those instructions and embedded is working for me.
Milan Babuskov, the author of that paper, also has a program that uses
the embedded server.
I think that the problem is in the way you connect to the database. For
embedded you must use local access, not localhost. It might change with
your database access software, but usually you pass an empty string as
the server name.
Fulvio Senore
Lee Jenkins ha scritto:
Milan Babuskov, the author of that paper, also has a program that uses
the embedded server.
I think that the problem is in the way you connect to the database. For
embedded you must use local access, not localhost. It might change with
your database access software, but usually you pass an empty string as
the server name.
Fulvio Senore
Lee Jenkins ha scritto:
> Lee Jenkins wrote:
>
>> Hi all,
>>
>> I'm having a difficult time trying to get embedded to work on linux. I'm on
>> CentOS 4.3, btw.
>>
>> I've tried following this:
>>
>> http://www.firebirdfaq.org/Firebird-Embedded-Linux-HOWTO.html
>> <http://www.firebirdfaq.org/Firebird-Embedded-Linux-HOWTO.html>
>>
>> I also think I saw somewhere that embedded on linux is not officially
>> supported,
>> is this true?
>>
>> Frankly, I chose embedded because I thought it would be an easier task
>> for users
>> to setup this application on both windows and linux, but there seems
>> this is
>> only the case for windows deployments?
>>
>> Well, I'm assuming because I haven't been successful yet ;)
>>
>> When trying to follow the example above, I received "error while loading
>> shared
>> libraries: libstdc++.so.5: cannot open shared object file: No such file or
>> directory.
>>
>> I'm assuming this is required for isql, but not sure if its required for
>> embedded classic to run?
>>
>> Any help or suggestions would be appreciated and I would like to use FB
>> embedded
>> for this particular project if I can.
>>
>> Thank a bunch!
>>
>>
>
> It was the required file, libstdc++.so.5, that was needed. Now, however I
> cannot connect to the database (even using localhost:pathtodb) because it says
> permission denied. I check the permissions of the database file and it
> definitely has read/write and since I'm just throwing stuff against the wall at
> this point, execute permissions are granted for everyone on that file.
>
> Any clues would be appreciated.
>
>