Red Hat Configuration - rpmbuild --rebuild

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Configuration > January 2004 > rpmbuild --rebuild





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rpmbuild --rebuild
david walcroft

2004-01-23, 7:10 pm

What could be the cause of this error,I use RH 9 and MySql.4.0.9-src.rpm.

.../libmysql/.libs/libmysqlclient.so: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.0.9-gamma'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.10705 (%build)


RPM build errors:
user mysqldev does not exist - using root
user mysqldev does not exist - using root
user mysqldev does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.10705 (%build)

Thanks david (remove nospam in address)

Registered Linux User 226449: Machine no. 164641

Everybody brings us happiness,some as they
arrive,others as they leave.








news

2004-01-23, 7:11 pm

did you mean to execute rpm --rebuilddb


"david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
news:asKOa.12$wv2.8@news-server.bigpond.net.au...
quote:

> What could be the cause of this error,I use RH 9 and MySql.4.0.9-src.rpm.
>
> ../libmysql/.libs/libmysqlclient.so: undefined reference to `errno'
> collect2: ld returned 1 exit status
> make[2]: *** [mysql] Error 1
> make[2]: Leaving directory


`/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
quote:

> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.0.9-gamma'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
>
> RPM build errors:
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
> Thanks david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.
>
>
>
>
>
>
>
>




news

2004-01-23, 7:11 pm

did you mean to execute rpm --rebuilddb


"david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
news:asKOa.12$wv2.8@news-server.bigpond.net.au...
quote:

> What could be the cause of this error,I use RH 9 and MySql.4.0.9-src.rpm.
>
> ../libmysql/.libs/libmysqlclient.so: undefined reference to `errno'
> collect2: ld returned 1 exit status
> make[2]: *** [mysql] Error 1
> make[2]: Leaving directory


`/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
quote:

> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.0.9-gamma'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
>
> RPM build errors:
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
> Thanks david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.
>
>
>
>
>
>
>
>




news

2004-01-23, 7:11 pm

did you mean to execute rpm --rebuilddb


"david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
news:asKOa.12$wv2.8@news-server.bigpond.net.au...
quote:

> What could be the cause of this error,I use RH 9 and MySql.4.0.9-src.rpm.
>
> ../libmysql/.libs/libmysqlclient.so: undefined reference to `errno'
> collect2: ld returned 1 exit status
> make[2]: *** [mysql] Error 1
> make[2]: Leaving directory


`/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
quote:

> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.0.9-gamma'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
>
> RPM build errors:
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> user mysqldev does not exist - using root
> Bad exit status from /var/tmp/rpm-tmp.10705 (%build)
>
> Thanks david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.
>
>
>
>
>
>
>
>




david walcroft

2004-01-23, 7:11 pm

news wrote:[QUOTE][color=darkred]
> did you mean to execute rpm --rebuilddb
>
>
> "david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
> news:asKOa.12$wv2.8@news-server.bigpond.net.au...
>
>
> `/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
>
News

No, I was rebuilding a rpm from a src file using
'rpmbuild --rebuild' as this src.rpm is distibuted to
all rpm based systems and you use that command to
build for RH system.

david (remove nospam in address)

Registered Linux User 226449: Machine no. 164641

Everybody brings us happiness,some as they
arrive,others as they leave.








david walcroft

2004-01-23, 7:11 pm

news wrote:[QUOTE][color=darkred]
> did you mean to execute rpm --rebuilddb
>
>
> "david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
> news:asKOa.12$wv2.8@news-server.bigpond.net.au...
>
>
> `/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
>
News

No, I was rebuilding a rpm from a src file using
'rpmbuild --rebuild' as this src.rpm is distibuted to
all rpm based systems and you use that command to
build for RH system.

david (remove nospam in address)

Registered Linux User 226449: Machine no. 164641

Everybody brings us happiness,some as they
arrive,others as they leave.








david walcroft

2004-01-23, 7:11 pm

news wrote:[QUOTE][color=darkred]
> did you mean to execute rpm --rebuilddb
>
>
> "david walcroft" <reddwarf@bigpond.nospam.net.au> wrote in message
> news:asKOa.12$wv2.8@news-server.bigpond.net.au...
>
>
> `/usr/src/redhat/BUILD/mysql-4.0.9-gamma/client'
>
News

No, I was rebuilding a rpm from a src file using
'rpmbuild --rebuild' as this src.rpm is distibuted to
all rpm based systems and you use that command to
build for RH system.

david (remove nospam in address)

Registered Linux User 226449: Machine no. 164641

Everybody brings us happiness,some as they
arrive,others as they leave.








user

2004-01-23, 7:11 pm

david walcroft wrote:
quote:

> news wrote:
> News
>
> No, I was rebuilding a rpm from a src file using
> 'rpmbuild --rebuild' as this src.rpm is distibuted to
> all rpm based systems and you use that command to
> build for RH system.
>
> david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.




What is the name of the src rpm you were trying to rebuild?

--
user
user

2004-01-23, 7:11 pm

david walcroft wrote:
quote:

> news wrote:
> News
>
> No, I was rebuilding a rpm from a src file using
> 'rpmbuild --rebuild' as this src.rpm is distibuted to
> all rpm based systems and you use that command to
> build for RH system.
>
> david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.




What is the name of the src rpm you were trying to rebuild?

--
user
user

2004-01-23, 7:11 pm

david walcroft wrote:
quote:

> news wrote:
> News
>
> No, I was rebuilding a rpm from a src file using
> 'rpmbuild --rebuild' as this src.rpm is distibuted to
> all rpm based systems and you use that command to
> build for RH system.
>
> david (remove nospam in address)
>
> Registered Linux User 226449: Machine no. 164641
>
> Everybody brings us happiness,some as they
> arrive,others as they leave.




What is the name of the src rpm you were trying to rebuild?

--
user
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com