<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">Le 18/11/2013 13:15, Tony Whyman a
      écrit :<br>
    </div>
    <blockquote cite="mid:528A04EF.3090601@mccallumwhyman.com"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      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>
    </blockquote>
    Right, I've noticed it. For the time being, I've only copied the
    original Firebird library fblclient.so.2 to local fbclient.so.
    Anyway, I'm happy because the program works independently of the
    current FB library.<br>
    On the other hand, we are used to install and work with FB since
    years and the library problem is well known. But because I'm also
    concerned with Linux application development (mainly services and
    libraries <span class="moz-smiley-s3"><span> ;-) </span></span>)
    installation team still forgets to install native client FB
    librarie.<br>
    Thans for focusing my attention on this operational problem.<br>
    <br>
    Antonio.<br>
    <br>
    <blockquote cite="mid:528A04EF.3090601@mccallumwhyman.com"
      type="cite"> <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.08090406.07010203@sitasoftware.lu">
                  </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.09080105.06000509@sitasoftware.lu">
                  </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.06030205.07060707@sitasoftware.lu"> </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.04020906.02020002@sitasoftware.lu">
                </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>
      <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>
    <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:part13.00050208.05040502@sitasoftware.lu"> </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 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:part15.09040302.08060401@sitasoftware.lu"> </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>