<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Antonio,<br>
    <br>
    Be careful on Ubuntu (as with all Debian) you only get
    libfbclient.so installed when you also have the development package
    (firebird-dev) installed. Better to load the libfbclient.so.2
    library which gets installed with the libfclient2 package.<br>
    <br>
    Regards<br>
    <br>
    Tony Whyman<br>
    MWA Software<br>
    <br>
    <div class="moz-cite-prefix">On 18/11/13 12:11, Antonio Fortuny
      wrote:<br>
    </div>
    <blockquote cite="mid:528A03DA.3000703@sitasoftware.lu" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">Le 18/11/2013 13:08, Antonio Fortuny
        a écrit :<br>
      </div>
      <blockquote cite="mid:528A0349.8040908@sitasoftware.lu"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <br>
        <div class="moz-cite-prefix">Le 18/11/2013 12:19, Michael Van
          Canneyt a écrit :<br>
        </div>
        <blockquote
          cite="mid:alpine.DEB.2.02.1311181210310.22258@home.telenet.be"
          type="cite"> <br>
          <br>
          On Mon, 18 Nov 2013, Antonio Fortuny wrote: <br>
          <br>
          <blockquote type="cite">Hi Folks. <br>
            <br>
            I'm a little bit annoyed by a boring specification in the
            fpc package. When in a program I use the TIBConnection
            (along witha transaction and a query), the compiled program
            looks for the local libfbclient when establishing the
            connection. <br>
            So far so good. When I install the program in another Linux
            box, running Firebird 2.1, the program complains that <br>
            "Can not load default Firebird clients ("libfbclient.so.2.5"
            or "libgds.so" or "libfbembed.so.2.5")". Looks normal as
            this Linux box uses Firebird 2.1 <br>
            Is it possible to force what library should be used instead
            ? (as UIB does) <br>
            Having a look inside the code, in ibase60 (lines 2680 and
            fw) library names look fixed and looks like the Firebird
            version should be fixed before using it. <br>
          </blockquote>
          <br>
          You can do 2 things: <br>
          <br>
          1. use the TSQLDBLibraryLoader component from sqldblib (in
          trunk) <br>
          <br>
          2. call <br>
             function InitialiseIBase60(Const LibraryName : AnsiString)
          : integer; <br>
        </blockquote>
        found it in ibase60dyn.pp --> ibase60.inc<br>
        before connecting to the DB:<br>
            InitialiseIBase60('libfbclient.so');<br>
      </blockquote>
      changing previous line to <br>
        InitialiseIBase60('./libfbclient.so');<br>
      works.<br>
      <br>
      Thanks<br>
      <br>
      Antonio.<br>
      <br>
      <blockquote cite="mid:528A0349.8040908@sitasoftware.lu"
        type="cite"> compile on one system (OpenSuse x86_64), copy to
        the target system (Ubuntu x86_64)<br>
        target systemp library /usr/lib/libfbclient.so.2 copied in
        current directory as libfbclient.so<br>
        then run and:<br>
        An unhandled exception occurred at $00000000004B544B :<br>
        EInOutError : Can not load Firebird client library
        "libfbclient.so". Check your installation.<br>
        <br>
        any comment ?<br>
        <br>
        Antonio.<br>
        <br>
        <blockquote
          cite="mid:alpine.DEB.2.02.1311181210310.22258@home.telenet.be"
          type="cite">with the correct library name. <br>
          <br>
          Michael. <br>
          _______________________________________________ <br>
          fpc-pascal maillist  -  <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
          <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
          <br>
        </blockquote>
        <br>
        <div class="moz-signature">-- <br>
          <table
style="font-family:'Calibri','sans-serif';font-size:8.0pt;color:#002f87;border:0;width:auto;">
            <tbody>
              <tr>
                <td style="vertical-align:bottom;padding:40px 20px
                  25px;border-top:1pt solid #BFBFBF;"> <img alt="Sita
                    Software"
                    src="cid:part3.07060608.04040009@mccallumwhyman.com">
                </td>
              </tr>
              <tr>
                <td style="vertical-align: top; padding: 5px 20px 0;"> <b>Antonio


                    Fortuny</b><br>
                  Senior Software engineer<br>
                  <br>
                  220, avenue de la Liberté<br>
                  L-4602 Niederkorn<br>
                  Tel.: +352 58 00 93 - 93<br>
                  <a moz-do-not-send="true"
                    style="color:#002f87;cursor:pointer;text-decoration:
                    none;" href="http://www.sitasoftware.lu">www.sitasoftware.lu</a><br>
                </td>
              </tr>
              <tr>
                <td style="padding:20px 20px 30px;border-bottom: 1pt
                  solid #BFBFBF;" align="right"> <img alt="Your IT
                    Partner"
                    src="cid:part5.07090602.02080606@mccallumwhyman.com">
                </td>
              </tr>
            </tbody>
          </table>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
fpc-pascal maillist  -  <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        <table
style="font-family:'Calibri','sans-serif';font-size:8.0pt;color:#002f87;border:0;width:auto;">
          <tbody>
            <tr>
              <td style="vertical-align:bottom;padding:40px 20px
                25px;border-top:1pt solid #BFBFBF;"> <img alt="Sita
                  Software"
                  src="cid:part8.00060000.06090809@mccallumwhyman.com">
              </td>
            </tr>
            <tr>
              <td style="vertical-align: top; padding: 5px 20px 0;"> <b>Antonio

                  Fortuny</b><br>
                Senior Software engineer<br>
                <br>
                220, avenue de la Liberté<br>
                L-4602 Niederkorn<br>
                Tel.: +352 58 00 93 - 93<br>
                <a moz-do-not-send="true"
                  style="color:#002f87;cursor:pointer;text-decoration:
                  none;" href="http://www.sitasoftware.lu">www.sitasoftware.lu</a><br>
              </td>
            </tr>
            <tr>
              <td style="padding:20px 20px 30px;border-bottom: 1pt solid
                #BFBFBF;" align="right"> <img alt="Your IT Partner"
                  src="cid:part10.05070101.01060101@mccallumwhyman.com">
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
    </blockquote>
    <br>
  </body>
</html>