[CDRIVER-139] default install doesn't create mongo.so Created: 18/May/12 Updated: 11/Sep/19 Resolved: 21/May/12 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.5.2 |
| Fix Version/s: | 0.6 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Pawel | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Oracle Linux 6, standard packages only |
||
| Attachments: |
|
| Description |
|
Hi. Is there a reason the installation script doesn't link libmongoc.so.0 to libmongoc.so? Thank you, |
| Comments |
| Comment by auto [ 01/Jun/12 ] | |||||||||||||||||||||
|
Author: {u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}Message: | |||||||||||||||||||||
| Comment by Pawel [ 29/May/12 ] | |||||||||||||||||||||
|
Hi. I've attached the diff that should resolve the remaining building and installation issues. 1) Makefile build: wasn't including env_* for shared lib build Note about .so standardization: a) Three version components must be defined - major, minor and patch (patch should be 0 if no patch version) I've tested it so that I can compile, and install, from scratch, and then link against libmongo.so, using both scons and Makefile Thanks, | |||||||||||||||||||||
| Comment by Pawel [ 29/May/12 ] | |||||||||||||||||||||
|
diff to address building/installing issues | |||||||||||||||||||||
| Comment by Pawel [ 21/May/12 ] | |||||||||||||||||||||
|
I'm sorry but there is still something wrong. I do see that the .so is now created, but the dynamic linking fails:
I changed VERSION from "0.5.2" to "0.5" in SConstruct, that helped. | |||||||||||||||||||||
| Comment by Kyle Banker [ 21/May/12 ] | |||||||||||||||||||||
|
Ok. Great. Thanks. | |||||||||||||||||||||
| Comment by Kyle Banker [ 21/May/12 ] | |||||||||||||||||||||
|
Verified that it's fixed? | |||||||||||||||||||||
| Comment by Pawel [ 21/May/12 ] | |||||||||||||||||||||
|
Verified in master. | |||||||||||||||||||||
| Comment by Kyle Banker [ 21/May/12 ] | |||||||||||||||||||||
|
Should be fixed in this latest commit. | |||||||||||||||||||||
| Comment by auto [ 21/May/12 ] | |||||||||||||||||||||
|
Author: {u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}Message: | |||||||||||||||||||||
| Comment by Kyle Banker [ 21/May/12 ] | |||||||||||||||||||||
|
Are you using the SCons install target or the Makefile target? |