![]() (You might have to manually create this directory if it doesn't yet exist.). This means that when you compile on EC2, you should point to /var/task. I think the lambda itself is unzipped to /var/task. Personally I was putting odbc inside a lambda layer, which goes to /opt. configure, -sysconfdir, as well as -prefix. If you're compiling unixODBC yourself, you can try adding an extra argument to. (Well, perhaps you can from the python script at runtime, but that's not ideal.) In a Lambda function, you can't modify that. (sorry I am not so familiar with anything outside python environment so I am not sure about all the shared libraries stuff and couldn't solve my problem by just googling for a few days)īy default unixODBC looks for odbc.ini inside /etc/. and manually changing odbcinst.ini but no hope. configure -prefix=/home/ec2-user/lambda -libdir=. ![]() I have tried offline installation of unixODBC and set. How do I bundle the driver with my package for AWS Lambda to use? Or Is there a way to tell ODBC driver manager to look for libmsodbcsql-13.0.so.1.0? change LD_LIBRARY_PATH to lib in lambda.py and upload the zip to Lambdaįrom the response it looks like everything is running OK except for the unixODBC manager cannot find the driver on AWS Lambda Instance Question:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |