---
title: "undefined reference __dn_expand"
author: "derlang"
date: "2010-06-27T21:21:54Z"
tags: []
categories: ["编程语言"]
slug: "undefined-reference-dn-expand"
draft: false
lastmod: "2010-06-27T21:22:18Z"
id: 700396
url: "https://ecloud.iteye.com/blog/700396"
---

$ objdump -T /lib/libresolv.so.2|grep dn\_expand 000040e0 w DF .text 0000005e GLIBC\_2.0 dn\_expand 000040e0 g DF .text 0000005e GLIBC\_2.2 \_\_dn\_expand Looks like the newer glibc abi added a couple of underscores. try doing a "for i in /lib/lib\*.so;do objdump -T $i|grep dn\_expand && echo $i;done" ?