Building the driver on 64bit platform fails (because lib32 is used instead of lib64). On 32 bit installations there is no lib64 directory, so trying with 64 before 32 works.
def find_db2libdir():
# In DB2 v8 and below, the library directory is always "lib". In DB2 v9,
# the library directory is either lib32 or lib64. According to some, a
# "lib" symlink should point to the appropriate dir, but it certainly
# doesn't in the installs I've seen...
- for path in ['lib', 'lib32', 'lib64' ]:
+ for path in ['lib', 'lib64', 'lib32' ]:
if os.path.exists(os.path.join(db2rootdir, path)):
return os.path.join(db2rootdir, path)
# Give up noisily
raise Exception('Unable to locate DB2 lib directory')
Not sure how to patch the file so I'll include it here
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Last edit: Anonymous 2014-05-05