corrupt library

corrupt library

Postby Dietmar Jahnel » Wed Aug 13, 2014 8:27 am

Just tried to update an existing application to FWH 14.3 with xHB (January 2014)
Now I'm getting this:
xLINK: fatal error: Corrupt library: 'C:\fwh\lib\libmysql.lib'.

What can be done?
thanks for help!
Dietmar
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Re: corrupt library

Postby Antonio Linares » Wed Aug 13, 2014 10:24 am

Dietmar,

Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.

You may need to create the import library from its DLL using VC98 implib.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: corrupt library

Postby Dietmar Jahnel » Wed Aug 13, 2014 11:23 am

Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.

- I just installed FWH 14.3 and the libs that came with this build. Changed nothing (just tried again).

You may need to create the import library from its DLL using VC98 implib.exe

- Does this mean FHW is not compatible with xhb any more? Not really, i hope :)
Can you please send me a compatible libmysql.lib.
Thanks,
Dietmar
User avatar
Dietmar Jahnel
 
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria

Re: corrupt library

Postby Antonio Linares » Thu Aug 14, 2014 3:22 pm

Dietmar,

You can easily build it yourself:

1. Download libmysql.dll from here:
http://www.sitasoft.net/dolphin/files/libmysql_dll.zip

2. Use Microsoft VC98 implib32.exe to create mysqldll.lib from it

3. xHb.com uses PellesC which it is only compatible with Microsoft VC 98. If you have PellesC, please check if it provides an implib.exe tool

4. FWH remains fully compatible with xHB.com. Surely you are using a wrong libmysql.lib

5. Please seriously consider to migrate to Harbour and stop depending from a very old Microsoft C compiler version (cause xHb.com) :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: corrupt library

Postby Antonio Linares » Thu Aug 14, 2014 3:26 pm

Dietmar,

This one should work fine, I just created it for you :-)

https://bitbucket.org/fivetech/fivewin-contributions/downloads/libmysql_for_xhb.com.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests