Lachim / redis

Automatically exported from code.google.com/p/redis
2 stars 0 forks source link

Patch for compiling redis on Debian and Ubuntu #562

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Redis does not build in Debian and Ubuntu because of the --as-needed ld flag. 
This patch to the Make file makes it build.

Original issue reported on code.google.com by nigelb...@gmail.com on 26 May 2011 at 6:41

Attachments:

GoogleCodeExporter commented 8 years ago
I don't have any problems building Redis on Ubuntu. Can you clarify in what 
particular scenario this is required?

Original comment by pcnoordh...@gmail.com on 14 Jun 2011 at 7:35

GoogleCodeExporter commented 8 years ago
pcnoordhuis: Tightening up the linker in Debian/Ubuntu:

  http://wiki.debian.org/ToolChain/DSOLinking

Hopefully nigelb can give you more details!

Original comment by sladen@gmail.com on 14 Jun 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Ubuntu's and Debian's linker is becoming more strict 
(https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition).  This stricter 
version of the linker can be seen when trying to build redis on Oneiric alpha.  
Please also see the build logs before 
(https://launchpadlibrarian.net/70903387/buildlog_ubuntu-oneiric-i386.redis_2%3A
2.2.5-1_FAILEDTOBUILD.txt.gz) and after 
(https://launchpadlibrarian.net/72523812/buildlog_ubuntu-oneiric-i386.redis_2%3A
2.2.5-1ubuntu1_BUILDING.txt.gz).

Original comment by nigelb...@gmail.com on 14 Jun 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Patch updated against 2.2.12

https://github.com/lamby/pkg-redis/blob/master/debian/patches/01-fix-link-orderi
ng

Original comment by ChrisLam...@gmail.com on 27 Jul 2011 at 5:23

GoogleCodeExporter commented 8 years ago
Thanks, this patch is now applied to 2.2. 2.4 and unstable were already OK 
since the link order needed to change for linking with jemalloc to work.

Original comment by pcnoordh...@gmail.com on 28 Jul 2011 at 5:33

GoogleCodeExporter commented 8 years ago
Issue 615 has been merged into this issue.

Original comment by pcnoordh...@gmail.com on 29 Jul 2011 at 10:55

GoogleCodeExporter commented 8 years ago
Issue 615 has been merged into this issue.

Original comment by pcnoordh...@gmail.com on 29 Jul 2011 at 11:25