fbclone icon indicating copy to clipboard operation
fbclone copied to clipboard

fbclient.dll not found

Open antonpetrov145 opened this issue 4 years ago • 5 comments

Hello, I'm having trouble with starting the tool to clone one database. After start it says that fbclient.dll is not found. I did install fbclient.dll in my system32 folder with the firebird tools but I get the same issue. OS is Windows 10 Pro 64bit, firebird server is 2.5 64bit Can you help?

Thanks

antonpetrov145 avatar Jan 08 '21 14:01 antonpetrov145

I did not use this app, wrote my own "cloner", but collected some experience, so maybe I can help.

  1. Did you compile this console app to 64 bit too? If not, it won't "find" the 64bit dll. (You can uninstall FB and install the 32bit FB version.)

  2. Did you enable the right version at UIB source?
    Actually the dll isn't necessary to be in the system dir. It caused sometimes trouble.

  3. Are you cloning locally? Usually it's better to make a fake-local-network string for connection: localhost:E:\myDB.fdb because Win10 may interfere. That trick skips the firewall problems.

PizzaProgram avatar Jan 08 '21 14:01 PizzaProgram

How do you install Firebird ? It is expected to use the instreg.exe utility provided witrh Firebird to define the "RootDirectory" key in the system Registry.

zedalaye avatar Jan 08 '21 14:01 zedalaye

And for sure, fbclone 32bit won't be able to use the 64bit version of fbclient.dll, thank you, @PizzaProgram, for having spotted this point.

zedalaye avatar Jan 08 '21 14:01 zedalaye

I did not use this app, wrote my own "cloner", but collected some experience, so maybe I can help.

1. Did you compile this console app to 64 bit too?
   If not, it won't "find" the 64bit dll. (You can uninstall FB and install the 32bit FB version.)

2. Did you enable the right version at UIB source?
   Actually the dll isn't necessary to be in the system dir. It caused sometimes trouble.

3. Are you cloning locally?
   Usually it's better to make a fake-local-network string for connection:
   `localhost:E:\myDB.fdb` because Win10 may interfere. That trick skips the firewall problems.
  1. Didn't compile, just downloaded the already compiled program. Will try to compile it though.
  2. Don't know how to do that.
  3. Yes I'm cloning locally, but will try with localhost:

antonpetrov145 avatar Jan 08 '21 14:01 antonpetrov145

How do you install Firebird ? It is expected to use the instreg.exe utility provided witrh Firebird to define the "RootDirectory" key in the system Registry.

Installed it with the tutorial on the firebird site. Will run instreg.exe.

antonpetrov145 avatar Jan 08 '21 14:01 antonpetrov145