perl - Installing DBD::Sybase on OS X with Homebrew fails to find freetds libraries -
i installing dbd::sybase
i receive following error, after setting
export sybase=/usr/local/cellar/freetds/0.95.80 and download freetds:
brew install freetds error:
configuring dbd-sybase-1.15 ... can't find sybase libraries in /usr/local/cellar/freetds/0.95.80/lib or /usr/local/cellar/freetds/0.95.80/lib64 @ makefile.pl line 155, <in> line 44 i believe need edit makefile directly. need edit makefile? , use cpanm still. cpanm under brew (cellar).
/usr/local/cellar/freetds/0.95.80/lib ├── libct.4.dylib ├── libct.a ├── libct.dylib -> libct.4.dylib ├── libsybdb.5.dylib ├── libsybdb.a └── libsybdb.dylib -> libsybdb.5.dylib /usr/local/cellar/freetds/0.95.80/ authors changelog news todo etc lib copying install_receipt.json readme bin include share
there a reported bug in dbd::sybase on os x causing problem.
one part of configuration thinks you're on windows. perl reports os x darwin , dbd::sybase checking /win/ in mswin32 or maybe cygwin. result looks dll directory, falsely reports it's looking lib , lib64.
the quick fix use cpanm --prompt dbd::sybase. when fails, cpanm ask do.
configuring dbd-sybase failed. can s)kip, r)etry, e)xamine build log, or l)ook ? [s] tell l)ook. dump shell unpacked source dbd::sybase. use editor delete lines 143-145 in makefile.pl.
if ($^o =~ /win/i) { @libdir = ( 'dll' ); } then exit shell. cpanm ask again, tell r)etry. should use edited makefile.pl.
Comments
Post a Comment