Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-19 Thread Gabor Boros

2019. 06. 19. 17:08 keltezéssel, Alex Peshkoff via Firebird-devel írta:

Gabor, please also send me output (rather long - redir to file) of
   ldconfig -v -N -X
on your system.


I sent you to your private address.

Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-19 Thread Alex Peshkoff via Firebird-devel

On 14.06.2019 19:41, Gabor Boros wrote:

2019. 06. 14. 15:16 keltezéssel, Alex Peshkoff via Firebird-devel írta:

What do
ldd isql (in appropriate bin dirs)
   and
ldd /usr/lib64/libfbclient.so
show in both cases?




Gabor, please also send me output (rather long - redir to file) of
  ldconfig -v -N -X
on your system.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-14 Thread Gabor Boros

2019. 06. 14. 15:16 keltezéssel, Alex Peshkoff via Firebird-devel írta:

What do
ldd isql (in appropriate bin dirs)
   and
ldd /usr/lib64/libfbclient.so
show in both cases?



With own build

/usr/local/firebird/bin$ ldd isql
linux-vdso.so.1 (0x7ffe53561000)
libfbclient.so.2 => not found
libtommath.so.1 => /lib/x86_64-linux-gnu/libtommath.so.1 
(0x7f2b6c202000)

libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f2b6c1fd000)
libncurses.so.6 => /lib/x86_64-linux-gnu/libncurses.so.6 
(0x7f2b6c1d4000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 
(0x7f2b6c1a6000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f2b6c022000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f2b6be9d000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f2b6be83000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f2b6be62000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f2b6bca1000)
/lib64/ld-linux-x86-64.so.2 (0x7f2b6c2e3000)

/usr/local/firebird/bin$ ldd /usr/lib64/libfbclient.so
linux-vdso.so.1 (0x7fffe8b7e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7fad23437000)
libncurses.so.6 => /lib/x86_64-linux-gnu/libncurses.so.6 
(0x7fad2340e000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 
(0x7fad233e)
libtommath.so.1 => /lib/x86_64-linux-gnu/libtommath.so.1 
(0x7fad233c2000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7fad2323e000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fad230bb000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7fad2309f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7fad2307e000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fad22ebd000)
/lib64/ld-linux-x86-64.so.2 (0x7fad235f5000)


and with snapshot build

/opt/firebird/bin# ldd isql
linux-vdso.so.1 (0x7fff7f7cd000)
libfbclient.so.2 => /opt/firebird/bin/./../lib/libfbclient.so.2 
(0x7f7507624000)
libtommath.so.0 => /lib/x86_64-linux-gnu/libtommath.so.0 
(0x7f750760)

librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f75075f6000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f75075f1000)
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 
(0x7f75075cb000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x7f750759f000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f7507419000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f7507296000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f750727c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f750725b000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f750709a000)
/lib64/ld-linux-x86-64.so.2 (0x7f75079e9000)

/opt/firebird/bin# ldd /usr/lib64/libfbclient.so
linux-vdso.so.1 (0x7ffed2fb)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f79aa58d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f79aa588000)
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 
(0x7f79aa562000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x7f79aa536000)
libtommath.so.0 => /lib/x86_64-linux-gnu/libtommath.so.0 
(0x7f79aa518000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f79aa394000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f79aa20f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f79aa1f5000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f79aa1d4000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f79aa013000)
/lib64/ld-linux-x86-64.so.2 (0x7f79aa962000)

Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-14 Thread Alex Peshkoff via Firebird-devel

On 14.06.2019 9:00, Gabor Boros wrote:

2019. 06. 13. 10:51 keltezéssel, Paul Beach írta:

a, is there a findable symlink from libfbclient.so.2 to the real name of
libfbclient (probably libfbclient.so.3.0.5)
b, is the installer creating it?



Output of "find / -name "libfbclient*" -type l -ls"

with own build

   672502  0 lrwxrwxrwx   1 root root   44 jún 14 
07:30 /usr/lib64/libfbclient.so.3.0.5 -> 
/usr/local/firebird/lib/libfbclient.so.3.0.5
   672500  0 lrwxrwxrwx   1 root root   38 jún 14 
07:30 /usr/lib64/libfbclient.so -> /usr/local/firebird/lib/libfbclient.so
   672501  0 lrwxrwxrwx   1 root root   40 jún 14 
07:30 /usr/lib64/libfbclient.so.2 -> 
/usr/local/firebird/lib/libfbclient.so.2
  1058899  0 lrwxrwxrwx   1 root root   16 jún 14 
07:30 /usr/local/firebird/lib/libfbclient.so -> libfbclient.so.2
  1058896  0 lrwxrwxrwx   1 root root   20 jún 14 
07:30 /usr/local/firebird/lib/libfbclient.so.2 -> libfbclient.so.3.0.5


and with snapshot build

   394291  0 lrwxrwxrwx   1 root root   16 jún 14 
03:51 /opt/firebird/lib/libfbclient.so -> libfbclient.so.2
   394290  0 lrwxrwxrwx   1 root root   20 jún 14 
03:51 /opt/firebird/lib/libfbclient.so.2 -> libfbclient.so.3.0.5
   672482  0 lrwxrwxrwx   1 root root   38 jún 14 
07:53 /usr/lib64/libfbclient.so.3.0.5 -> 
/opt/firebird/lib/libfbclient.so.3.0.5
   672480  0 lrwxrwxrwx   1 root root   32 jún 14 
07:53 /usr/lib64/libfbclient.so -> /opt/firebird/lib/libfbclient.so
   672481  0 lrwxrwxrwx   1 root root   34 jún 14 
07:53 /usr/lib64/libfbclient.so.2 -> /opt/firebird/lib/libfbclient.so.2




What do
ldd isql (in appropriate bin dirs)
  and
ldd /usr/lib64/libfbclient.so
show in both cases?




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-14 Thread Alex Peshkoff via Firebird-devel

On 14.06.2019 12:37, Gabor Boros wrote:

2019. 06. 13. 10:51 keltezéssel, Paul Beach írta:

b, is the installer creating it?



I see some difference between the two install.sh files. The trivial 
/opt/firebird vs /usr/local/firebird and two times "if [ "yes" = "yes" 
]" vs "if [ "no" = "yes" ]". What is this "if" thing? I hope it's a 
joke only. Why not clear and human readable/understandable "if"s used?


It's a check for variables that were substituted at configure step. Not 
too beautiful but definitely can't cause issues with not found fbclient.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-14 Thread Gabor Boros

2019. 06. 13. 10:51 keltezéssel, Paul Beach írta:

b, is the installer creating it?



I see some difference between the two install.sh files. The trivial 
/opt/firebird vs /usr/local/firebird and two times "if [ "yes" = "yes" 
]" vs "if [ "no" = "yes" ]". What is this "if" thing? I hope it's a joke 
only. Why not clear and human readable/understandable "if"s used?


Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-13 Thread Gabor Boros

2019. 06. 13. 10:51 keltezéssel, Paul Beach írta:

a, is there a findable symlink from libfbclient.so.2 to the real name of
libfbclient (probably libfbclient.so.3.0.5)
b, is the installer creating it?



Output of "find / -name "libfbclient*" -type l -ls"

with own build

   672502  0 lrwxrwxrwx   1 root root   44 jún 14 07:30 
/usr/lib64/libfbclient.so.3.0.5 -> 
/usr/local/firebird/lib/libfbclient.so.3.0.5
   672500  0 lrwxrwxrwx   1 root root   38 jún 14 07:30 
/usr/lib64/libfbclient.so -> /usr/local/firebird/lib/libfbclient.so
   672501  0 lrwxrwxrwx   1 root root   40 jún 14 07:30 
/usr/lib64/libfbclient.so.2 -> /usr/local/firebird/lib/libfbclient.so.2
  1058899  0 lrwxrwxrwx   1 root root   16 jún 14 07:30 
/usr/local/firebird/lib/libfbclient.so -> libfbclient.so.2
  1058896  0 lrwxrwxrwx   1 root root   20 jún 14 07:30 
/usr/local/firebird/lib/libfbclient.so.2 -> libfbclient.so.3.0.5


and with snapshot build

   394291  0 lrwxrwxrwx   1 root root   16 jún 14 03:51 
/opt/firebird/lib/libfbclient.so -> libfbclient.so.2
   394290  0 lrwxrwxrwx   1 root root   20 jún 14 03:51 
/opt/firebird/lib/libfbclient.so.2 -> libfbclient.so.3.0.5
   672482  0 lrwxrwxrwx   1 root root   38 jún 14 07:53 
/usr/lib64/libfbclient.so.3.0.5 -> /opt/firebird/lib/libfbclient.so.3.0.5
   672480  0 lrwxrwxrwx   1 root root   32 jún 14 07:53 
/usr/lib64/libfbclient.so -> /opt/firebird/lib/libfbclient.so
   672481  0 lrwxrwxrwx   1 root root   34 jún 14 07:53 
/usr/lib64/libfbclient.so.2 -> /opt/firebird/lib/libfbclient.so.2


Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-13 Thread Gabor Boros

2019. 06. 13. 10:51 keltezéssel, Paul Beach írta:

a, is there a findable symlink from libfbclient.so.2 to the real name of
libfbclient (probably libfbclient.so.3.0.5)
b, is the installer creating it?



I started from scratch, just in case. After the "make" step the output 
of "find / -name "libfbclient*"" is


/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so.2
/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so.3.0.5
/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so

after "sudo make install" is

/home/user/firebird-B3_0_Release/gen/buildroot/usr/local/firebird/lib/libfbclient.so.2
/home/user/firebird-B3_0_Release/gen/buildroot/usr/local/firebird/lib/libfbclient.so.3.0.5
/home/user/firebird-B3_0_Release/gen/buildroot/usr/local/firebird/lib/libfbclient.so
/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so.2
/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so.3.0.5
/home/user/firebird-B3_0_Release/gen/Release/firebird/lib/libfbclient.so
/home/user/firebird-B3_0_Release/gen/Firebird-debuginfo-3.0.5.33140-0.amd64/usr/local/firebird/lib/.debug/libfbclient.so.3.0.5.debug
/usr/lib64/libfbclient.so.3.0.5
/usr/lib64/libfbclient.so
/usr/lib64/libfbclient.so.2
/usr/local/firebird/lib/libfbclient.so.3.0.5
/usr/local/firebird/lib/libfbclient.so
/usr/local/firebird/lib/libfbclient.so.2

Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-13 Thread Alex Peshkoff via Firebird-devel

On 12.06.2019 19:57, Adriano dos Santos Fernandes wrote:

On 12/06/2019 13:33, Gabor Boros wrote:

Hi All,

I try to make and test "my own" build with Debian 10. First with
default settings, just execute "autogen.sh", "make" and "make install"
without any modification. At the last step I got the next problem:


Firebird 3.0.5.33140-0.amd64 Installation

Press Enter to start installation or ^C to abort
Extracting install data
Please enter new password for SYSDBA user: masterkey
/usr/local/firebird/bin/gsec: error while loading shared libraries:
libfbclient.so.2: cannot open shared object file: No such file or
directory


Probably a problem with libtommath absence or wrong version.


Definitely not it. This is own build, it will not complete without dev 
tommath package. Sooner of all something went wrong with creation of 
symbolic link to libfbclient from /usr/lib.





Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-13 Thread Paul Beach
> I try to make and test "my own" build with Debian 10. First with default 
> settings, just execute "autogen.sh", "make" and "make install" without 
> any modification. At the last step I got the next problem:
> 
> 
> Firebird 3.0.5.33140-0.amd64 Installation
> 
> Press Enter to start installation or ^C to abort
> Extracting install data
> Please enter new password for SYSDBA user: masterkey
> /usr/local/firebird/bin/gsec: error while loading shared libraries: 
> libfbclient.so.2: cannot open shared object file: No such file or directory

a, is there a findable symlink from libfbclient.so.2 to the real name of
libfbclient (probably libfbclient.so.3.0.5)
b, is the installer creating it?

Paul


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-12 Thread Gabor Boros

2019. 06. 12. 18:57 keltezéssel, Adriano dos Santos Fernandes írta:

Probably a problem with libtommath absence or wrong version.


I have libtommath (libtommath1 and libtommath-dev 1.1.0-3) installed. 
Next symlinks exists: libtommath.so, libtommath.so.0, libtommath.so.1.


Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-12 Thread Adriano dos Santos Fernandes
On 12/06/2019 13:33, Gabor Boros wrote:
> Hi All,
>
> I try to make and test "my own" build with Debian 10. First with
> default settings, just execute "autogen.sh", "make" and "make install"
> without any modification. At the last step I got the next problem:
>
>
> Firebird 3.0.5.33140-0.amd64 Installation
>
> Press Enter to start installation or ^C to abort
> Extracting install data
> Please enter new password for SYSDBA user: masterkey
> /usr/local/firebird/bin/gsec: error while loading shared libraries:
> libfbclient.so.2: cannot open shared object file: No such file or
> directory
>

Probably a problem with libtommath absence or wrong version.


Adriano



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Build, install and test 3.0 on Debian 10

2019-06-12 Thread Gabor Boros

Hi All,

I try to make and test "my own" build with Debian 10. First with default 
settings, just execute "autogen.sh", "make" and "make install" without 
any modification. At the last step I got the next problem:



Firebird 3.0.5.33140-0.amd64 Installation

Press Enter to start installation or ^C to abort
Extracting install data
Please enter new password for SYSDBA user: masterkey
/usr/local/firebird/bin/gsec: error while loading shared libraries: 
libfbclient.so.2: cannot open shared object file: No such file or directory


Fatal error running 'systemctl --quiet start 
firebird-superserver.service' - exiting

make[2]: *** [Makefile.install:122: install] Error 1
make[2]: Leaving directory '/home/user/firebird-B3_0_Release/gen'
make[1]: *** [Makefile:666: install] Error 2
make[1]: Leaving directory '/home/user/firebird-B3_0_Release/gen'
make: *** [Makefile:6: install] Error 2


For the testing "https://fbtest.readthedocs.io/en/latest/index.html"; is 
the good starting point? Is fbtest contains everything which executed at 
release build testing?


Gabor


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel